public class CasProcessorErrorRateThresholdImpl extends MetaDataObject_impl implements CasProcessorErrorRateThreshold
Constructor and Description |
---|
CasProcessorErrorRateThresholdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
buildFromXMLElement(org.w3c.dom.Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Overridden to read "name" and "value" attributes.
|
java.lang.String |
getAction()
Returns strategy for dealing with exceeding error thresholds.
|
int |
getMaxErrorCount()
Returns max number of errors tolerated by the CPE.
|
int |
getMaxErrorSampleSize()
Returns sample size.
|
java.lang.String |
getValue() |
protected org.xml.sax.helpers.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(java.lang.String aAction)
Sets a strategy for dealing with exceeding error thresholds.
|
void |
setMaxErrorCount(int aErrorCount)
Sets the max number of errors tolerated by the CPE.
|
void |
setMaxErrorSampleSize(int aSampleSize)
Sets the sample size.
|
void |
setValue(java.lang.String string) |
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, writePropertyAsElement
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
public void setMaxErrorCount(int aErrorCount)
CasProcessorErrorRateThreshold
setMaxErrorCount
in interface CasProcessorErrorRateThreshold
aErrorCount
- -
max tolerated errors for CasProcessorpublic int getMaxErrorCount()
CasProcessorErrorRateThreshold
getMaxErrorCount
in interface CasProcessorErrorRateThreshold
public void setMaxErrorSampleSize(int aSampleSize)
CasProcessorErrorRateThreshold
setMaxErrorSampleSize
in interface CasProcessorErrorRateThreshold
public int getMaxErrorSampleSize()
CasProcessorErrorRateThreshold
getMaxErrorSampleSize
in interface CasProcessorErrorRateThreshold
public void setAction(java.lang.String aAction)
CasProcessorErrorRateThreshold
setAction
in interface CasProcessorErrorRateThreshold
aAction
- -
action to takepublic java.lang.String getAction()
CasProcessorErrorRateThreshold
getAction
in interface CasProcessorErrorRateThreshold
public void buildFromXMLElement(org.w3c.dom.Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
buildFromXMLElement
in interface XMLizable
buildFromXMLElement
in class MetaDataObject_impl
aElement
- 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_impl
MetaDataObject_impl.getXMLAttributes()
protected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class MetaDataObject_impl
public java.lang.String getValue()
public void setValue(java.lang.String string)
string
- Copyright © 2013. All Rights Reserved.