public class UimaASDeploymentDescriptorImpl extends Object implements UimaASDeploymentDescriptor
Modifier and Type | Class and Description |
---|---|
protected static class |
UimaASDeploymentDescriptorImpl.DeploymentContext
The Class DeploymentContext.
|
Modifier and Type | Field and Description |
---|---|
protected org.apache.uima.resourceSpecifier.AnalysisEngineDeploymentDescriptionDocument |
dd
The dd.
|
protected Deployment |
deployment
The deployment.
|
protected org.apache.uima.resourceSpecifier.AnalysisEngineDeploymentDescriptionType |
dt
The dt.
|
AGGREGATE, BROKERURL, CASPOOL_CAS_COUNT, CASPOOL_INITIAL_FD_HEAP_SIZE, DEFAULT_BROKER_URL, DESCRIPTION, ENDPOINT, ERROR_CPC_ADDITIONAL_ERROR_ACTION, ERROR_PROCESS_CAS_THRESHOLDACTION, ERROR_PROCESS_CAS_THRESHOLDCOUNT, ERROR_PROCESS_CAS_THRESHOLDWINDOW, INPUTQSCALEOUT, NAME, PREFETCH, PROCESS_PARENT_LAST, PROTOCOL, PROVIDER, TOP_CAS_MULTIPLIER
Constructor and Description |
---|
UimaASDeploymentDescriptorImpl(org.apache.uima.resourceSpecifier.AnalysisEngineDeploymentDescriptionDocument dd,
ServiceContext context,
DelegateConfiguration... delegateConfigurations)
Instantiates a new uima as deployment descriptor impl.
|
Modifier and Type | Method and Description |
---|---|
Deployment |
getDeployment()
Gets the deployment.
|
String |
getDescription()
Gets the description.
|
String |
getName()
Gets the name.
|
void |
save(File file)
Save.
|
void |
setDescription(String description)
Sets the description.
|
void |
setName(String name)
Sets the name.
|
String |
toXML()
To xml.
|
protected org.apache.uima.resourceSpecifier.AnalysisEngineDeploymentDescriptionDocument dd
protected org.apache.uima.resourceSpecifier.AnalysisEngineDeploymentDescriptionType dt
protected Deployment deployment
public UimaASDeploymentDescriptorImpl(org.apache.uima.resourceSpecifier.AnalysisEngineDeploymentDescriptionDocument dd, ServiceContext context, DelegateConfiguration... delegateConfigurations)
dd
- the ddcontext
- the contextdelegateConfigurations
- the delegate configurationspublic void setName(String name)
UimaASDeploymentDescriptor
setName
in interface UimaASDeploymentDescriptor
name
- the new namepublic String getName()
UimaASDeploymentDescriptor
getName
in interface UimaASDeploymentDescriptor
public void setDescription(String description)
UimaASDeploymentDescriptor
setDescription
in interface UimaASDeploymentDescriptor
description
- the new descriptionpublic String getDescription()
UimaASDeploymentDescriptor
getDescription
in interface UimaASDeploymentDescriptor
public Deployment getDeployment()
UimaASDeploymentDescriptor
getDeployment
in interface UimaASDeploymentDescriptor
public void save(File file) throws Exception
UimaASDeploymentDescriptor
save
in interface UimaASDeploymentDescriptor
file
- the fileException
- the exceptionpublic String toXML()
UimaASDeploymentDescriptor
toXML
in interface UimaASDeploymentDescriptor
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.