Package io.nflow.engine.exception
Class StateSaveExceptionHandling.Builder
java.lang.Object
io.nflow.engine.exception.ExceptionHandling.Builder<StateSaveExceptionHandling.Builder>
io.nflow.engine.exception.StateSaveExceptionHandling.Builder
- Enclosing class:
StateSaveExceptionHandling
public static class StateSaveExceptionHandling.Builder
extends ExceptionHandling.Builder<StateSaveExceptionHandling.Builder>
Builder for exception handling settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create the state save exception handling object.getThis()
Return this.setRetryDelay
(org.joda.time.Duration retryDelay) Set the retry delay.Methods inherited from class io.nflow.engine.exception.ExceptionHandling.Builder
setLogLevel, setLogStackTrace
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getThis
Return this.- Specified by:
getThis
in classExceptionHandling.Builder<StateSaveExceptionHandling.Builder>
- Returns:
- This.
-
setRetryDelay
Set the retry delay. Default is 1 minute.- Parameters:
retryDelay
- The retry delay.- Returns:
- This.
-
build
Create the state save exception handling object.- Overrides:
build
in classExceptionHandling.Builder<StateSaveExceptionHandling.Builder>
- Returns:
- State save exception handling.
-