|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resourceSpecifier.factory.impl.ErrorHandlingSettingsImpl
public abstract class ErrorHandlingSettingsImpl
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 |
---|
public ErrorHandlingSettingsImpl()
public ErrorHandlingSettingsImpl(int retryCount, int timeout, Action action)
retryCount
- the retry counttimeout
- the timeoutaction
- the actionMethod Detail |
---|
public void setMaxRetries(int retryCount)
ErrorHandlingSettings
setMaxRetries
in interface ErrorHandlingSettings
retryCount
- the new max retriespublic int getMaxRetries()
ErrorHandlingSettings
getMaxRetries
in interface ErrorHandlingSettings
public void setTimeout(int timeout)
ErrorHandlingSettings
setTimeout
in interface ErrorHandlingSettings
timeout
- the new timeoutpublic int getTimeout()
ErrorHandlingSettings
getTimeout
in interface ErrorHandlingSettings
public void setAction(Action action)
ErrorHandlingSettings
setAction
in interface ErrorHandlingSettings
action
- the new actionpublic Action getAction()
ErrorHandlingSettings
getAction
in interface ErrorHandlingSettings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |