public class CpeCheckpointImpl extends MetaDataObject_impl implements CpeCheckpoint
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.SerializerserialContext| Constructor and Description |
|---|
CpeCheckpointImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildFromXMLElement(Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to read Checkpoint attributes.
|
int |
getBatch() |
int |
getBatchSize() |
String |
getFile() |
String |
getFilePath()
Returns file where checkpoint information is stored
|
int |
getFrequency()
Returns frequency of checkpoints.
|
String |
getTime() |
protected 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(String string) |
void |
setFilePath(String aCheckpointFilePath)
Sets the file where checkpoint information will be stored
|
void |
setFrequency(int aFrequency,
boolean aTimeBased)
Sets frequency of checkpoints.
|
void |
setTime(String i) |
buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlpublic void setFilePath(String aCheckpointFilePath) throws CpeDescriptorException
CpeCheckpointsetFilePath in interface CpeCheckpointaCheckpointFilePath - -
checkpoint file pathCpeDescriptorException - tbdpublic 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 CpeCheckpointaBatchSize - the size of the batchpublic int getBatchSize()
getBatchSize in interface CpeCheckpointpublic void buildFromXMLElement(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 AttributesImpl getXMLAttributes()
getXMLAttributes in class MetaDataObject_implMetaDataObject_impl.getXMLAttributes()protected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implpublic int getBatch()
public String getFile()
public String getTime()
public void setBatch(int i)
i - public void setFile(String string)
string - public void setTime(String i)
i - Copyright © 2018. All rights reserved.