public class CasProcessorMaxRestartsImpl extends MetaDataObject_impl implements CasProcessorMaxRestarts
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.SerializerserialContext| Constructor and Description |
|---|
CasProcessorMaxRestartsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildFromXMLElement(Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to read "name" and "value" attributes.
|
String |
getAction()
Returns a strategy to apply by the CPE when max restart count is exceeded.
|
int |
getRestartCount()
Returns max restarts threshold fro CasProcessor
|
String |
getValue() |
int |
getWaitTimeBetweenRetries() |
protected AttributesImpl |
getXMLAttributes()
Overridden to handle "name" and "value" attributes.
|
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
void |
setAction(String aAction)
Sets a strategy to apply by the CPE when max restart count is exceeded.
|
void |
setRestartCount(int aRestartCount)
Sets max tolerated restarts threshold for CasProcessor
|
void |
setValue(String string) |
void |
setWaitTimeBetweenRetries(int 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 setRestartCount(int aRestartCount)
CasProcessorMaxRestartssetRestartCount in interface CasProcessorMaxRestartsaRestartCount - -
max restart countpublic int getRestartCount()
CasProcessorMaxRestartsgetRestartCount in interface CasProcessorMaxRestartspublic void setAction(String aAction)
CasProcessorMaxRestartssetAction in interface CasProcessorMaxRestartsaAction - -
action to takepublic String getAction()
CasProcessorMaxRestartsgetAction in interface CasProcessorMaxRestartspublic String getValue()
public void setValue(String string)
string - public 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 getWaitTimeBetweenRetries()
getWaitTimeBetweenRetries in interface CasProcessorMaxRestartspublic void setWaitTimeBetweenRetries(int i)
setWaitTimeBetweenRetries in interface CasProcessorMaxRestartsi - Copyright © 2018. All rights reserved.