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

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

public abstract class ErrorHandlingSettingsImpl
extends Object
implements ErrorHandlingSettings

The Class ErrorHandlingSettingsImpl.


Constructor Summary
ErrorHandlingSettingsImpl()
          Instantiates a new error handling settings impl.
ErrorHandlingSettingsImpl(int retryCount, int timeout, Action action)
          Instantiates a new error handling settings impl.
 
Method Summary
 Action getAction()
          Gets the action.
 int getMaxRetries()
          Gets the max retries.
 int getTimeout()
          Gets the timeout.
 void setAction(Action action)
          Sets the action.
 void setMaxRetries(int retryCount)
          Sets the max retries.
 void setTimeout(int timeout)
          Sets the timeout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandlingSettingsImpl

public ErrorHandlingSettingsImpl()
Instantiates a new error handling settings impl.


ErrorHandlingSettingsImpl

public ErrorHandlingSettingsImpl(int retryCount,
                                 int timeout,
                                 Action action)
Instantiates a new error handling settings impl.

Parameters:
retryCount - the retry count
timeout - the timeout
action - the action
Method Detail

setMaxRetries

public void setMaxRetries(int retryCount)
Description copied from interface: ErrorHandlingSettings
Sets the max retries.

Specified by:
setMaxRetries in interface ErrorHandlingSettings
Parameters:
retryCount - the new max retries

getMaxRetries

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

Specified by:
getMaxRetries in interface ErrorHandlingSettings
Returns:
the max retries

setTimeout

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

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

getTimeout

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

Specified by:
getTimeout in interface ErrorHandlingSettings
Returns:
the timeout

setAction

public void setAction(Action action)
Description copied from interface: ErrorHandlingSettings
Sets the action.

Specified by:
setAction in interface ErrorHandlingSettings
Parameters:
action - the new action

getAction

public Action getAction()
Description copied from interface: ErrorHandlingSettings
Gets the action.

Specified by:
getAction in interface ErrorHandlingSettings
Returns:
the action


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