|
||||||||||
| 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 CpeConfigurationaDeploy - -
deployment mode of the CPE
CpeDescriptorExceptionpublic java.lang.String getDeployment()
CpeConfiguration
getDeployment in interface CpeConfigurationfor a description of these modes.
public void setNumToProcess(int aNumToProcess)
throws CpeDescriptorException
CpeConfiguration
setNumToProcess in interface CpeConfigurationaNumToProcess - -
number of entities to process (-1 - for ALL)
CpeDescriptorExceptionpublic int getNumToProcess()
CpeConfiguration
getNumToProcess in interface CpeConfigurationpublic void setStartingEntityId(java.lang.String aStartAt)
CpeConfiguration
setStartingEntityId in interface CpeConfigurationaStartAt - -
id of first entitypublic java.lang.String getStartingEntityId()
CpeConfiguration
getStartingEntityId in interface CpeConfiguration
public void setCheckpoint(CpeCheckpoint aCheckpoint)
throws CpeDescriptorException
CpeConfiguration
setCheckpoint in interface CpeConfigurationaCheckpoint - -
checkpoint object
CpeDescriptorExceptionpublic CpeCheckpoint getCheckpoint()
CpeConfiguration
getCheckpoint in interface CpeConfigurationCpeCheckpointpublic void removeCheckpoint()
CpeConfiguration
removeCheckpoint in interface CpeConfigurationpublic void setCpeTimer(CpeTimer aTimer)
CpeConfiguration
setCpeTimer in interface CpeConfigurationaTimer - -
timer classpublic CpeTimer getCpeTimer()
CpeConfiguration
getCpeTimer in interface CpeConfigurationpublic void removeCpeTimer()
removeCpeTimer in interface CpeConfigurationpublic java.lang.String getDeployAs()
public long getNum2Process()
public java.lang.String getStartAt()
public java.lang.String getTimerImpl()
CpeConfiguration
getTimerImpl in interface CpeConfigurationpublic 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 CpeConfigurationpublic int getMaxTimeToWait()
getMaxTimeToWait in interface CpeConfigurationpublic 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 | |||||||||