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

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

public class AggregateProcessCasErrorsImpl
extends ProcessCasErrorsImpl
implements AggregateProcessCasErrors

The Class AggregateProcessCasErrorsImpl.


Field Summary
 
Fields inherited from class org.apache.uima.resourceSpecifier.factory.impl.ProcessCasErrorsImpl
pcet
 
Constructor Summary
protected AggregateProcessCasErrorsImpl(org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet, ServiceContext context, boolean topLevel)
          Instantiates a new aggregate process cas errors impl.
 
Method Summary
 boolean continueOnRetryFailure()
          Continue on retry failure.
 int getMaxRetries()
          Gets the max retries.
 int getTimeout()
          Gets the timeout.
 void setContinueOnRetryFailure()
          Sets the continue on retry failure.
 void setMaxRetris(int retries)
          Sets the max retris.
 void setTimeout(int timeout)
          Sets the timeout.
 
Methods inherited from class org.apache.uima.resourceSpecifier.factory.impl.ProcessCasErrorsImpl
getThresholdAction, getThresholdCount, getThresholdWindow, setThresholdAction, setThresholdCount, setThresholdWindow
 
Methods inherited from class org.apache.uima.resourceSpecifier.factory.impl.ErrorHandlingSettingsImpl
getAction, setAction, setMaxRetries
 
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.ProcessCasErrors
getThresholdAction, getThresholdCount, getThresholdWindow, setThresholdAction, setThresholdCount, setThresholdWindow
 
Methods inherited from interface org.apache.uima.resourceSpecifier.factory.ErrorHandlingSettings
getAction, setAction, setMaxRetries
 

Constructor Detail

AggregateProcessCasErrorsImpl

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

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

getMaxRetries

public int getMaxRetries()
Description copied from interface: ErrorHandlingSettings
Gets the max retries.

Specified by:
getMaxRetries in interface AggregateProcessCasErrors
Specified by:
getMaxRetries in interface ErrorHandlingSettings
Overrides:
getMaxRetries in class ErrorHandlingSettingsImpl
Returns:
the max retries

setMaxRetris

public void setMaxRetris(int retries)
Description copied from interface: AggregateProcessCasErrors
Sets the max retris.

Specified by:
setMaxRetris in interface AggregateProcessCasErrors
Parameters:
retries - the new max retris

getTimeout

public int getTimeout()
Description copied from interface: ErrorHandlingSettings
Gets the timeout.

Specified by:
getTimeout in interface AggregateProcessCasErrors
Specified by:
getTimeout in interface ErrorHandlingSettings
Overrides:
getTimeout in class ErrorHandlingSettingsImpl
Returns:
the timeout

setTimeout

public void setTimeout(int timeout)
Description copied from interface: ErrorHandlingSettings
Sets the timeout.

Specified by:
setTimeout in interface AggregateProcessCasErrors
Specified by:
setTimeout in interface ErrorHandlingSettings
Overrides:
setTimeout in class ErrorHandlingSettingsImpl
Parameters:
timeout - the new timeout

continueOnRetryFailure

public boolean continueOnRetryFailure()
Description copied from interface: AggregateProcessCasErrors
Continue on retry failure.

Specified by:
continueOnRetryFailure in interface AggregateProcessCasErrors
Returns:
true, if successful

setContinueOnRetryFailure

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

Specified by:
setContinueOnRetryFailure in interface AggregateProcessCasErrors


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