public final class Catcher extends Object
ParallelState or a TaskState and transitions into the specified recovery state. The
recovery state will receive the error output as input unless otherwise specified by a ResultPath.| Modifier and Type | Class and Description |
|---|---|
static class |
Catcher.Builder
Builder for a
Catcher. |
| Modifier and Type | Method and Description |
|---|---|
static Catcher.Builder |
builder() |
List<String> |
getErrorEquals() |
String |
getResultPath() |
Transition |
getTransition() |
public List<String> getErrorEquals()
public String getResultPath()
public Transition getTransition()
Transition that will occur if this catcher is evaluated (i.e. the error code
matches a code in getErrorEquals().public static Catcher.Builder builder()
Catcher.