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

java.lang.Object
  extended by org.apache.uima.resourceSpecifier.factory.impl.AsyncPrimitiveErrorConfigurationImpl
All Implemented Interfaces:
AsyncPrimitiveErrorConfiguration

public class AsyncPrimitiveErrorConfigurationImpl
extends Object
implements AsyncPrimitiveErrorConfiguration

The Class AsyncPrimitiveErrorConfigurationImpl.


Constructor Summary
protected AsyncPrimitiveErrorConfigurationImpl(org.apache.uima.resourceSpecifier.AsyncPrimitiveErrorConfigurationType aect, ServiceContext context, boolean topLevel)
          Instantiates a new async primitive error configuration impl.
 
Method Summary
 boolean getContinueOnRetryFailure()
          Gets the continue on retry failure.
 ProcessCasErrors getProcessCasErrors()
          Gets the process cas errors.
 Action getThresholdAction()
          Gets the threshold action.
 int getThresholdCount()
          Gets the threshold count.
 int getThresholdWindow()
          Gets the threshold window.
 long getTimeout()
          Gets the timeout.
 void setContinueOnRetryFailure()
          Sets the continue on retry failure.
 void setProcessCasErrors(ProcessCasErrors pce)
          Sets the process cas errors.
 void setThresholdAction(Action pa)
          Sets the threshold action.
 void setThresholdCount(int threshold)
          Sets the threshold count.
 void setThresholdWindow()
          Sets the threshold window.
 void setTimeout(long timeout)
          Sets the timeout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncPrimitiveErrorConfigurationImpl

protected AsyncPrimitiveErrorConfigurationImpl(org.apache.uima.resourceSpecifier.AsyncPrimitiveErrorConfigurationType aect,
                                               ServiceContext context,
                                               boolean topLevel)
Instantiates a new async primitive error configuration impl.

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

getProcessCasErrors

public ProcessCasErrors getProcessCasErrors()
Description copied from interface: AsyncPrimitiveErrorConfiguration
Gets the process cas errors.

Specified by:
getProcessCasErrors in interface AsyncPrimitiveErrorConfiguration
Returns:
the process cas errors

setProcessCasErrors

public void setProcessCasErrors(ProcessCasErrors pce)
Description copied from interface: AsyncPrimitiveErrorConfiguration
Sets the process cas errors.

Specified by:
setProcessCasErrors in interface AsyncPrimitiveErrorConfiguration
Parameters:
pce - the new process cas errors

getTimeout

public long getTimeout()
Description copied from interface: AsyncPrimitiveErrorConfiguration
Gets the timeout.

Specified by:
getTimeout in interface AsyncPrimitiveErrorConfiguration
Returns:
the timeout

setTimeout

public void setTimeout(long timeout)
Description copied from interface: AsyncPrimitiveErrorConfiguration
Sets the timeout.

Specified by:
setTimeout in interface AsyncPrimitiveErrorConfiguration
Parameters:
timeout - the new timeout

getThresholdCount

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

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

setThresholdCount

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

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

getContinueOnRetryFailure

public boolean getContinueOnRetryFailure()
Description copied from interface: AsyncPrimitiveErrorConfiguration
Gets the continue on retry failure.

Specified by:
getContinueOnRetryFailure in interface AsyncPrimitiveErrorConfiguration
Returns:
the continue on retry failure

setContinueOnRetryFailure

public void setContinueOnRetryFailure()
Description copied from interface: AsyncPrimitiveErrorConfiguration
Sets the continue on retry failure.

Specified by:
setContinueOnRetryFailure in interface AsyncPrimitiveErrorConfiguration

getThresholdWindow

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

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

setThresholdWindow

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

Specified by:
setThresholdWindow in interface AsyncPrimitiveErrorConfiguration

getThresholdAction

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

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

setThresholdAction

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

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


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