Package io.nflow.engine.exception
Class StateProcessExceptionHandling.Builder
- java.lang.Object
-
- io.nflow.engine.exception.ExceptionHandling.Builder<StateProcessExceptionHandling.Builder>
-
- io.nflow.engine.exception.StateProcessExceptionHandling.Builder
-
- Enclosing class:
- StateProcessExceptionHandling
public static class StateProcessExceptionHandling.Builder extends ExceptionHandling.Builder<StateProcessExceptionHandling.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 StateProcessExceptionHandlingbuild()Create the exception handling object.StateProcessExceptionHandling.BuildergetThis()Return this.StateProcessExceptionHandling.BuildersetRetryable(boolean isRetryable)Set if state method processing is retryable or not.-
Methods inherited from class io.nflow.engine.exception.ExceptionHandling.Builder
setLogLevel, setLogStackTrace
-
-
-
-
Method Detail
-
getThis
public StateProcessExceptionHandling.Builder getThis()
Return this.- Specified by:
getThisin classExceptionHandling.Builder<StateProcessExceptionHandling.Builder>- Returns:
- This.
-
setRetryable
public StateProcessExceptionHandling.Builder setRetryable(boolean isRetryable)
Set if state method processing is retryable or not.- Parameters:
isRetryable- True if state method processing should be retried.- Returns:
- This.
-
build
public StateProcessExceptionHandling build()
Create the exception handling object.- Overrides:
buildin classExceptionHandling.Builder<StateProcessExceptionHandling.Builder>- Returns:
- State process exception handling.
-
-