org.apache.uima.resourceSpecifier.factory.impl
Class ProcessCasErrorsImpl

java.lang.Object
  extended by org.apache.uima.resourceSpecifier.factory.impl.ErrorHandlingSettingsImpl
      extended by org.apache.uima.resourceSpecifier.factory.impl.ProcessCasErrorsImpl
All Implemented Interfaces:
ErrorHandlingSettings, ProcessCasErrors
Direct Known Subclasses:
AggregateProcessCasErrorsImpl

public class ProcessCasErrorsImpl
extends ErrorHandlingSettingsImpl
implements ProcessCasErrors

The Class ProcessCasErrorsImpl.


Field Summary
protected  org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet
          The pcet.
 
Constructor Summary
protected ProcessCasErrorsImpl(org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet, ServiceContext context, boolean topLevel)
          Instantiates a new process cas errors impl.
 
Method Summary
 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.
 
Methods inherited from class org.apache.uima.resourceSpecifier.factory.impl.ErrorHandlingSettingsImpl
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.uima.resourceSpecifier.factory.ErrorHandlingSettings
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout
 

Field Detail

pcet

protected org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet
The pcet.

Constructor Detail

ProcessCasErrorsImpl

protected ProcessCasErrorsImpl(org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet,
                               ServiceContext context,
                               boolean topLevel)
Instantiates a new process cas errors impl.

Parameters:
pcet - the pcet
context - the context
topLevel - the top level
Method Detail

getThresholdCount

public int getThresholdCount()
Description copied from interface: ProcessCasErrors
Gets the threshold count.

Specified by:
getThresholdCount in interface ProcessCasErrors
Returns:
the threshold count

setThresholdCount

public void setThresholdCount(int threshold)
Description copied from interface: ProcessCasErrors
Sets the threshold count.

Specified by:
setThresholdCount in interface ProcessCasErrors
Parameters:
threshold - the new threshold count

getThresholdWindow

public int getThresholdWindow()
Description copied from interface: ProcessCasErrors
Gets the threshold window.

Specified by:
getThresholdWindow in interface ProcessCasErrors
Returns:
the threshold window

setThresholdWindow

public void setThresholdWindow(int window)
Description copied from interface: ProcessCasErrors
Sets the threshold window.

Specified by:
setThresholdWindow in interface ProcessCasErrors
Parameters:
window - the new threshold window

getThresholdAction

public Action getThresholdAction()
Description copied from interface: ProcessCasErrors
Gets the threshold action.

Specified by:
getThresholdAction in interface ProcessCasErrors
Returns:
the threshold action

setThresholdAction

public void setThresholdAction(Action action)
Description copied from interface: ProcessCasErrors
Sets the threshold action.

Specified by:
setThresholdAction in interface ProcessCasErrors
Parameters:
action - the new threshold action


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.