Package | Description |
---|---|
io.simplesource.saga.model.messages | |
io.simplesource.saga.model.saga |
Modifier and Type | Field and Description |
---|---|
SagaStatus |
SagaStateTransition.SagaStatusChanged.sagaStatus |
Modifier and Type | Field and Description |
---|---|
SagaStatus |
Saga.status
The status of the saga.
|
Modifier and Type | Method and Description |
---|---|
static SagaStatus |
SagaStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SagaStatus[] |
SagaStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <A> Saga<A> |
Saga.of(SagaId sagaId,
Map<ActionId,SagaAction<A>> actions,
SagaStatus status,
io.simplesource.data.Sequence sequence)
Static constructor for a Saga.
|
Saga<A> |
Saga.updated(Map<ActionId,SagaAction<A>> actions,
SagaStatus status)
Creates a new saga instances with an updated set of actions and saga status.
|
Saga<A> |
Saga.updated(Map<ActionId,SagaAction<A>> actions,
SagaStatus status,
List<SagaError> sagaError)
Creates a new saga instances with an updated set of actions, saga status and error list.
|
Saga<A> |
Saga.updated(SagaStatus status)
Creates a new saga instances with an updated saga status.
|
Saga<A> |
Saga.updated(SagaStatus status,
List<SagaError> sagaError)
Creates a new saga instances with an updated saga status and error list.
|
Copyright © 2019. All rights reserved.