org.apache.uima.resourceSpecifier.factory
Interface ErrorHandlingSettings

All Known Subinterfaces:
AggregateProcessCasErrors, CollectionProcessCompleteErrorHandlingSettings, DelegateProcessCasErrors, GetMetaErrorHandlingSettings, ProcessCasErrors, ProcessErrorHandlingSettings
All Known Implementing Classes:
AggregateProcessCasErrorsImpl, CollectionProcessCompleteErrorHandlingSettingsImpl, ErrorHandlingSettingsImpl, GetMetaErrorHandlingSettingsImpl, ProcessCasErrorsImpl, ProcessErrorHandlingSettingsImpl

public interface ErrorHandlingSettings

The Interface ErrorHandlingSettings.


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.
 

Method Detail

setMaxRetries

void setMaxRetries(int retryCount)
Sets the max retries.

Parameters:
retryCount - the new max retries

getMaxRetries

int getMaxRetries()
Gets the max retries.

Returns:
the max retries

setTimeout

void setTimeout(int timeout)
Sets the timeout.

Parameters:
timeout - the new timeout

getTimeout

int getTimeout()
Gets the timeout.

Returns:
the timeout

setAction

void setAction(Action action)
Sets the action.

Parameters:
action - the new action

getAction

Action getAction()
Gets the action.

Returns:
the action


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