|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.collection.impl.metadata.cpe.CpeConfigurationImpl
public class CpeConfigurationImpl
Constructor Summary | |
---|---|
CpeConfigurationImpl()
|
Method Summary | |
---|---|
CpeCheckpoint |
getCheckpoint()
Returns Checkpoint object containing checkpoint file and frequency of checkpoints. |
CpeTimer |
getCpeTimer()
Returns the timer class implementing UimeTimer interface. |
java.lang.String |
getDeployAs()
|
java.lang.String |
getDeployment()
Returns CPE deployment mode as "immediate", "vinceService", "interactive". |
int |
getMaxTimeToWait()
|
long |
getNum2Process()
|
int |
getNumToProcess()
Returns number of entities to process |
OutputQueue |
getOutputQueue()
|
java.lang.String |
getStartAt()
|
java.lang.String |
getStartingEntityId()
Returns id of the first entity the CPE will beging processing. |
java.lang.String |
getTimerImpl()
Removes timer class |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object in XML. |
void |
removeCheckpoint()
Removes checkpoint object |
void |
removeCpeTimer()
|
void |
setCheckpoint(CpeCheckpoint aCheckpoint)
Sets Checkpoint object containing checkpoint file and frequency of checkpoints. |
void |
setCpeTimer(CpeTimer aTimer)
Sets the timer class implementing UimeTimer interface. |
void |
setDeployAs(java.lang.String string)
|
void |
setDeployment(java.lang.String aDeploy)
Sets CPE deployment mode as "immediate", "vinceService", "interactive". |
void |
setNumToProcess(int aNumToProcess)
Sets number of entities to process by the CPE. |
void |
setNumToProcess(long l)
|
void |
setOutputQueue(OutputQueue queue)
|
void |
setStartAt(java.lang.String aStartAt)
|
void |
setStartingEntityId(java.lang.String aStartAt)
Sets id of the first entity the CPE will beging processing. |
void |
setTimerImpl(java.lang.String string)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Constructor Detail |
---|
public CpeConfigurationImpl()
Method Detail |
---|
public void setDeployment(java.lang.String aDeploy) throws CpeDescriptorException
CpeConfiguration
setDeployment
in interface CpeConfiguration
aDeploy
- -
deployment mode of the CPE
CpeDescriptorException
public java.lang.String getDeployment()
CpeConfiguration
getDeployment
in interface CpeConfiguration
for a description of these modes.
public void setNumToProcess(int aNumToProcess) throws CpeDescriptorException
CpeConfiguration
setNumToProcess
in interface CpeConfiguration
aNumToProcess
- -
number of entities to process (-1 - for ALL)
CpeDescriptorException
public int getNumToProcess()
CpeConfiguration
getNumToProcess
in interface CpeConfiguration
public void setStartingEntityId(java.lang.String aStartAt)
CpeConfiguration
setStartingEntityId
in interface CpeConfiguration
aStartAt
- -
id of first entitypublic java.lang.String getStartingEntityId()
CpeConfiguration
getStartingEntityId
in interface CpeConfiguration
public void setCheckpoint(CpeCheckpoint aCheckpoint) throws CpeDescriptorException
CpeConfiguration
setCheckpoint
in interface CpeConfiguration
aCheckpoint
- -
checkpoint object
CpeDescriptorException
public CpeCheckpoint getCheckpoint()
CpeConfiguration
getCheckpoint
in interface CpeConfiguration
CpeCheckpoint
public void removeCheckpoint()
CpeConfiguration
removeCheckpoint
in interface CpeConfiguration
public void setCpeTimer(CpeTimer aTimer)
CpeConfiguration
setCpeTimer
in interface CpeConfiguration
aTimer
- -
timer classpublic CpeTimer getCpeTimer()
CpeConfiguration
getCpeTimer
in interface CpeConfiguration
public void removeCpeTimer()
removeCpeTimer
in interface CpeConfiguration
public java.lang.String getDeployAs()
public long getNum2Process()
public java.lang.String getStartAt()
public java.lang.String getTimerImpl()
CpeConfiguration
getTimerImpl
in interface CpeConfiguration
public void setDeployAs(java.lang.String string)
string
- public void setNumToProcess(long l)
l
- public void setStartAt(java.lang.String aStartAt)
i
- public void setTimerImpl(java.lang.String string)
string
- public OutputQueue getOutputQueue()
getOutputQueue
in interface CpeConfiguration
public int getMaxTimeToWait()
getMaxTimeToWait
in interface CpeConfiguration
public void setOutputQueue(OutputQueue queue)
queue
- protected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class MetaDataObject_impl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |