public final class TaskState extends TransitionState
Currently allowed resources include Lambda functions and States activities.
| Modifier and Type | Class and Description |
|---|---|
static class |
TaskState.Builder
Builder for a
TaskState. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(StateVisitor<T> visitor) |
static TaskState.Builder |
builder() |
List<Catcher> |
getCatchers() |
String |
getComment() |
Integer |
getHeartbeatSeconds() |
String |
getHeartbeatSecondsPath() |
String |
getInputPath() |
String |
getOutputPath() |
String |
getParameters() |
String |
getResource() |
String |
getResultPath() |
List<Retrier> |
getRetriers() |
Integer |
getTimeoutSeconds() |
String |
getTimeoutSecondsPath() |
Transition |
getTransition() |
String |
getType() |
isTerminalStatepublic String getResource()
public String getInputPath()
public String getResultPath()
public String getOutputPath()
public String getParameters()
public Transition getTransition()
getTransition in class TransitionStatepublic String getComment()
public Integer getTimeoutSeconds()
public String getTimeoutSecondsPath()
ErrorCodes.TIMEOUT error.public Integer getHeartbeatSeconds()
public String getHeartbeatSecondsPath()
ErrorCodes.TIMEOUTpublic <T> T accept(StateVisitor<T> visitor)
public static TaskState.Builder builder()
TaskState.