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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create the exception handling object.getThis()
Return this.setRetryable
(boolean isRetryable) Set if state method processing is retryable or not.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<StateProcessExceptionHandling.Builder>
- Returns:
- This.
-
setRetryable
Set if state method processing is retryable or not.- Parameters:
isRetryable
- True if state method processing should be retried.- Returns:
- This.
-
build
Create the exception handling object.- Overrides:
build
in classExceptionHandling.Builder<StateProcessExceptionHandling.Builder>
- Returns:
- State process exception handling.
-