public abstract class DeploymentDescriptorImpl extends Object implements DeploymentDescriptor
Modifier and Type | Field and Description |
---|---|
protected UimaASDeploymentDescriptor |
deploymentDescriptor
The deployment descriptor.
|
Modifier | Constructor and Description |
---|---|
protected |
DeploymentDescriptorImpl(UimaASDeploymentDescriptor deploymentDescriptor)
Instantiates a new deployment descriptor impl.
|
Modifier and Type | Method and Description |
---|---|
String |
getBroker()
Gets the broker.
|
int |
getCasPoolSize()
Gets the cas pool size.
|
protected UimaASDeploymentDescriptor |
getDeploymentDescriptor() |
String |
getDescription()
Gets the description.
|
String |
getEndpoint()
Gets the endpoint.
|
int |
getInitialHeapSize()
Gets the initial heap size.
|
String |
getName()
Gets the name.
|
int |
getPrefetch()
Gets the prefetch.
|
String |
getProtocol() |
String |
getProvider() |
String |
getServiceAnalysisEngineDescriptor()
Gets the service analysis engine descriptor.
|
boolean |
isAsync()
Checks if is async.
|
void |
save(File file)
Save.
|
void |
setAsync(boolean async)
Sets the async.
|
void |
setBroker(String broker)
Sets the broker.
|
void |
setCasPoolSize(int casPoolSize)
Sets the cas pool size.
|
void |
setDescription(String description)
Sets the description.
|
void |
setEndoint(String endpoint)
Sets the endoint.
|
void |
setInitialHeapSize(int initialHeapSize)
Sets the initial heap size.
|
void |
setName(String name)
Sets the name.
|
void |
setPrefetch(int prefetch)
Sets the prefetch.
|
void |
setProtocol(String protocol) |
void |
setProvider(String provider) |
void |
setServiceAnalysisEngineDescriptor(String aeDescriptorPath)
Sets the service analysis engine descriptor.
|
String |
toXML()
To xml.
|
protected UimaASDeploymentDescriptor deploymentDescriptor
protected DeploymentDescriptorImpl(UimaASDeploymentDescriptor deploymentDescriptor)
deploymentDescriptor
- the deployment descriptorprotected UimaASDeploymentDescriptor getDeploymentDescriptor()
public void setName(String name)
DeploymentDescriptor
setName
in interface DeploymentDescriptor
name
- the new namepublic String getName()
DeploymentDescriptor
getName
in interface DeploymentDescriptor
public void setDescription(String description)
DeploymentDescriptor
setDescription
in interface DeploymentDescriptor
description
- the new descriptionpublic String getDescription()
DeploymentDescriptor
getDescription
in interface DeploymentDescriptor
public void setServiceAnalysisEngineDescriptor(String aeDescriptorPath)
DeploymentDescriptor
setServiceAnalysisEngineDescriptor
in interface DeploymentDescriptor
aeDescriptorPath
- the new service analysis engine descriptorpublic String getServiceAnalysisEngineDescriptor()
DeploymentDescriptor
getServiceAnalysisEngineDescriptor
in interface DeploymentDescriptor
public void setEndoint(String endpoint)
DeploymentDescriptor
setEndoint
in interface DeploymentDescriptor
endpoint
- the new endointpublic String getEndpoint()
DeploymentDescriptor
getEndpoint
in interface DeploymentDescriptor
public void setBroker(String broker)
DeploymentDescriptor
setBroker
in interface DeploymentDescriptor
broker
- the new brokerpublic String getBroker()
DeploymentDescriptor
getBroker
in interface DeploymentDescriptor
public void setPrefetch(int prefetch)
DeploymentDescriptor
setPrefetch
in interface DeploymentDescriptor
prefetch
- the new prefetchpublic int getPrefetch()
DeploymentDescriptor
getPrefetch
in interface DeploymentDescriptor
public void setCasPoolSize(int casPoolSize)
DeploymentDescriptor
setCasPoolSize
in interface DeploymentDescriptor
casPoolSize
- the new cas pool sizepublic int getCasPoolSize()
DeploymentDescriptor
getCasPoolSize
in interface DeploymentDescriptor
public void setInitialHeapSize(int initialHeapSize)
DeploymentDescriptor
setInitialHeapSize
in interface DeploymentDescriptor
initialHeapSize
- the new initial heap sizepublic int getInitialHeapSize()
DeploymentDescriptor
getInitialHeapSize
in interface DeploymentDescriptor
public String toXML()
DeploymentDescriptor
toXML
in interface DeploymentDescriptor
public void save(File file) throws Exception
DeploymentDescriptor
save
in interface DeploymentDescriptor
file
- the fileException
- the exceptionpublic boolean isAsync()
DeploymentDescriptor
isAsync
in interface DeploymentDescriptor
public void setAsync(boolean async)
DeploymentDescriptor
setAsync
in interface DeploymentDescriptor
async
- the new asyncpublic void setProtocol(String protocol)
setProtocol
in interface DeploymentDescriptor
public String getProtocol()
getProtocol
in interface DeploymentDescriptor
public void setProvider(String provider)
setProvider
in interface DeploymentDescriptor
public String getProvider()
getProvider
in interface DeploymentDescriptor
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.