public class ServerSpecImpl extends java.lang.Object implements ServerSpec
PATH_SEPARATOR| Constructor and Description |
|---|
ServerSpecImpl(java.lang.String shortDesc,
java.lang.String longDesc) |
ServerSpecImpl(java.lang.String shortDesc,
java.lang.String longDesc,
boolean doOutputAll) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ServerSpecImpl(java.lang.String shortDesc,
java.lang.String longDesc,
boolean doOutputAll)
public ServerSpecImpl(java.lang.String shortDesc,
java.lang.String longDesc)
public void addTypeMap(TypeMap typeMap)
ServerSpecaddTypeMap in interface ServerSpectypeMap - The input type map to be added.public java.lang.String getLongDescription()
ServerSpecgetLongDescription in interface ServerSpecpublic java.lang.String getShortDescription()
ServerSpecgetShortDescription in interface ServerSpecpublic java.util.List<TypeMap> getTypeSpecs()
getTypeSpecs in interface ServerSpecpublic java.util.List<SimpleServerException> validate(org.apache.uima.cas.TypeSystem typeSystem)
ServerSpecvalidate in interface ServerSpectypeSystem - The type system to validate against.SimpleServerExceptions.public boolean getOutputAll()
ServerSpecfalse.getOutputAll in interface ServerSpectrue iff output of all types is enabled.Copyright © 2013. All Rights Reserved.