public class ServerSpecImpl extends Object implements ServerSpec
PATH_SEPARATOR
Constructor and Description |
---|
ServerSpecImpl(String shortDesc,
String longDesc) |
ServerSpecImpl(String shortDesc,
String longDesc,
boolean doOutputAll) |
Modifier and Type | Method and Description |
---|---|
void |
addTypeMap(TypeMap typeMap)
Add a type map to an existing spec.
|
String |
getLongDescription()
Get the service's long description.
|
boolean |
getOutputAll()
Check setting to output all types.
|
String |
getShortDescription()
Get the service's short description.
|
List<TypeMap> |
getTypeSpecs() |
List<SimpleServerException> |
validate(org.apache.uima.cas.TypeSystem typeSystem)
Validate a service spec with respect to a type system.
|
public void addTypeMap(TypeMap typeMap)
ServerSpec
addTypeMap
in interface ServerSpec
typeMap
- The input type map to be added.public String getLongDescription()
ServerSpec
getLongDescription
in interface ServerSpec
public String getShortDescription()
ServerSpec
getShortDescription
in interface ServerSpec
public List<TypeMap> getTypeSpecs()
getTypeSpecs
in interface ServerSpec
public 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.Copyright © 2016. All rights reserved.