|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.simpleserver.config.impl.ServerSpecImpl
public class ServerSpecImpl
Implementation of ServerSpec interface.
Field Summary |
---|
Fields inherited from interface org.apache.uima.simpleserver.config.ServerSpec |
---|
PATH_SEPARATOR |
Constructor Summary | |
---|---|
ServerSpecImpl(java.lang.String shortDesc,
java.lang.String longDesc)
|
|
ServerSpecImpl(java.lang.String shortDesc,
java.lang.String longDesc,
boolean doOutputAll)
|
Method Summary | |
---|---|
void |
addTypeMap(TypeMap typeMap)
Add a type map to an existing spec. |
java.lang.String |
getLongDescription()
Get the service's long description. |
boolean |
getOutputAll()
Check setting to output all types. |
java.lang.String |
getShortDescription()
Get the service's short description. |
java.util.List<TypeMap> |
getTypeSpecs()
|
java.util.List<SimpleServerException> |
validate(org.apache.uima.cas.TypeSystem typeSystem)
Validate a service spec with respect to a type system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerSpecImpl(java.lang.String shortDesc, java.lang.String longDesc, boolean doOutputAll)
public ServerSpecImpl(java.lang.String shortDesc, java.lang.String longDesc)
Method Detail |
---|
public void addTypeMap(TypeMap typeMap)
ServerSpec
addTypeMap
in interface ServerSpec
typeMap
- The input type map to be added.public java.lang.String getLongDescription()
ServerSpec
getLongDescription
in interface ServerSpec
public java.lang.String getShortDescription()
ServerSpec
getShortDescription
in interface ServerSpec
public java.util.List<TypeMap> getTypeSpecs()
getTypeSpecs
in interface ServerSpec
public java.util.List<SimpleServerException> validate(org.apache.uima.cas.TypeSystem typeSystem)
ServerSpec
validate
in interface ServerSpec
typeSystem
- The type system to validate against.
SimpleServerException
s.public boolean getOutputAll()
ServerSpec
false
.
getOutputAll
in interface ServerSpec
true
iff output of all types is enabled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |