| Package | Description |
|---|---|
| io.serverlessworkflow.api | |
| io.serverlessworkflow.api.deserializers | |
| io.serverlessworkflow.api.states |
| Modifier and Type | Method and Description |
|---|---|
List<State> |
Workflow.getStates()
State Definitions
(Required)
|
| Modifier and Type | Method and Description |
|---|---|
void |
Workflow.setStates(List<State> states)
State Definitions
(Required)
|
Workflow |
Workflow.withStates(List<State> states) |
| Constructor and Description |
|---|
Workflow(String id,
String name,
String version,
List<State> states) |
| Modifier and Type | Method and Description |
|---|---|
State |
StateDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
| Modifier and Type | Class and Description |
|---|---|
class |
CallbackState
This state is used to wait for events from event sources and then transitioning to a next state
|
class |
DefaultState
Default State
|
class |
EventState
This state is used to wait for events from event sources and then to invoke one or more functions to run in sequence or in parallel.
|
class |
ForEachState
Execute a set of defined actions or workflows for each element of a data array
|
class |
InjectState
Set up and inject the state's data input to data output.
|
class |
OperationState
This state allows one or more functions to run in sequence or in parallel without waiting for any event.
|
class |
ParallelState
Consists of a number of states that are executed in parallel
|
class |
SleepState
This state is used to wait for events from event sources and then transitioning to a next state
|
class |
SwitchState
Permits transitions to other states based on criteria matching
|
Copyright © 2020–2023 CNCF. All rights reserved.