| Package | Description |
|---|---|
| io.serverlessworkflow.api.states |
| 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 |
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
|
| Modifier and Type | Method and Description |
|---|---|
DefaultState |
DefaultState.withCompensatedBy(String compensatedBy) |
DefaultState |
DefaultState.withEnd(End end) |
DefaultState |
DefaultState.withId(String id) |
DefaultState |
DefaultState.withMetadata(Map<String,String> metadata) |
DefaultState |
DefaultState.withName(String name) |
DefaultState |
DefaultState.withOnErrors(List<Error> onErrors) |
DefaultState |
DefaultState.withStateDataFilter(StateDataFilter stateDataFilter) |
DefaultState |
DefaultState.withTimeouts(TimeoutsDefinition timeouts) |
DefaultState |
DefaultState.withTransition(Transition transition) |
DefaultState |
DefaultState.withType(DefaultState.Type type) |
Copyright © 2020–2023 CNCF. All rights reserved.