public class CpeCheckpointImpl extends MetaDataObject_impl implements CpeCheckpoint
| Constructor and Description |
|---|
CpeCheckpointImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildFromXMLElement(org.w3c.dom.Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to read Checkpoint attributes.
|
int |
getBatch() |
int |
getBatchSize() |
java.lang.String |
getFile() |
java.lang.String |
getFilePath()
Returns file where checkpoint information is stored
|
int |
getFrequency()
Returns frequency of checkpoints.
|
java.lang.String |
getTime() |
protected org.xml.sax.helpers.AttributesImpl |
getXMLAttributes()
Overridden to handle Checkpoint attributes.
|
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
boolean |
isTimeBased()
Returns true if frequency of checkpoints is time-based
|
void |
setBatch(int i) |
void |
setBatchSize(int aBatchSize) |
void |
setFile(java.lang.String string) |
void |
setFilePath(java.lang.String aCheckpointFilePath)
Sets the file where checkpoint information will be stored
|
void |
setFrequency(int aFrequency,
boolean aTimeBased)
Sets frequency of checkpoints.
|
void |
setTime(java.lang.String i) |
buildFromXMLElement, clone, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlpublic void setFilePath(java.lang.String aCheckpointFilePath)
throws CpeDescriptorException
CpeCheckpointsetFilePath in interface CpeCheckpointaCheckpointFilePath - -
checkpoint file pathCpeDescriptorExceptionpublic java.lang.String getFilePath()
CpeCheckpointgetFilePath in interface CpeCheckpointpublic void setFrequency(int aFrequency,
boolean aTimeBased)
CpeCheckpointsetFrequency in interface CpeCheckpointaFrequency - -
number of millis between checkpointsaTimeBased - -
true if checkpoint is based on timepublic int getFrequency()
CpeCheckpointgetFrequency in interface CpeCheckpointpublic boolean isTimeBased()
CpeCheckpointisTimeBased in interface CpeCheckpointpublic void setBatchSize(int aBatchSize)
setBatchSize in interface CpeCheckpointpublic int getBatchSize()
getBatchSize in interface CpeCheckpointpublic void buildFromXMLElement(org.w3c.dom.Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
throws InvalidXMLException
buildFromXMLElement in interface XMLizablebuildFromXMLElement in class MetaDataObject_implaElement - the XML element that represents this object.aParser - a reference to the UIMA XMLParser. The
XMLParser.buildObject(Element) method can be used to construct sub-objects.aOptions - option settingsInvalidXMLException - if the input XML element does not specify a valid objectMetaDataObject_impl.buildFromXMLElement(org.w3c.dom.Element,
org.apache.uima.util.XMLParser, org.apache.uima.util.XMLParser.ParsingOptions)protected org.xml.sax.helpers.AttributesImpl getXMLAttributes()
getXMLAttributes in class MetaDataObject_implMetaDataObject_impl.getXMLAttributes()protected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implpublic int getBatch()
public java.lang.String getFile()
public java.lang.String getTime()
public void setBatch(int i)
i - public void setFile(java.lang.String string)
string - public void setTime(java.lang.String i)
i - Copyright © 2013. All Rights Reserved.