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 Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateSaveExceptionHandlingbuild()Create the state save exception handling object.StateSaveExceptionHandling.BuildergetThis()Return this.StateSaveExceptionHandling.BuildersetRetryDelay(org.joda.time.Duration retryDelay)Set the retry delay.-
Methods inherited from class io.nflow.engine.exception.ExceptionHandling.Builder
setLogLevel, setLogStackTrace
-
-
-
-
Method Detail
-
getThis
public StateSaveExceptionHandling.Builder getThis()
Return this.- Specified by:
getThisin classExceptionHandling.Builder<StateSaveExceptionHandling.Builder>- Returns:
- This.
-
setRetryDelay
public StateSaveExceptionHandling.Builder setRetryDelay(org.joda.time.Duration retryDelay)
Set the retry delay. Default is 1 minute.- Parameters:
retryDelay- The retry delay.- Returns:
- This.
-
build
public StateSaveExceptionHandling build()
Create the state save exception handling object.- Overrides:
buildin classExceptionHandling.Builder<StateSaveExceptionHandling.Builder>- Returns:
- State save exception handling.
-
-