public class ProcessCasErrorsImpl extends ErrorHandlingSettingsImpl implements ProcessCasErrors
Modifier and Type | Field and Description |
---|---|
protected org.apache.uima.resourceSpecifier.ProcessCasErrorsType |
pcet
The pcet.
|
Modifier | Constructor and Description |
---|---|
protected |
ProcessCasErrorsImpl(org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet,
ServiceContext context,
boolean topLevel)
Instantiates a new process cas errors impl.
|
Modifier and Type | Method and Description |
---|---|
Action |
getThresholdAction()
Gets the threshold action.
|
int |
getThresholdCount()
Gets the threshold count.
|
int |
getThresholdWindow()
Gets the threshold window.
|
void |
setThresholdAction(Action action)
Sets the threshold action.
|
void |
setThresholdCount(int threshold)
Sets the threshold count.
|
void |
setThresholdWindow(int window)
Sets the threshold window.
|
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout
protected org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet
protected ProcessCasErrorsImpl(org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet, ServiceContext context, boolean topLevel)
pcet
- the pcetcontext
- the contexttopLevel
- the top levelpublic int getThresholdCount()
ProcessCasErrors
getThresholdCount
in interface ProcessCasErrors
public void setThresholdCount(int threshold)
ProcessCasErrors
setThresholdCount
in interface ProcessCasErrors
threshold
- the new threshold countpublic int getThresholdWindow()
ProcessCasErrors
getThresholdWindow
in interface ProcessCasErrors
public void setThresholdWindow(int window)
ProcessCasErrors
setThresholdWindow
in interface ProcessCasErrors
window
- the new threshold windowpublic Action getThresholdAction()
ProcessCasErrors
getThresholdAction
in interface ProcessCasErrors
public void setThresholdAction(Action action)
ProcessCasErrors
setThresholdAction
in interface ProcessCasErrors
action
- the new threshold actionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.