Package | Description |
---|---|
io.simplesource.saga.model.action | |
io.simplesource.saga.model.saga |
Modifier and Type | Method and Description |
---|---|
SagaAction<A> |
SagaAction.updated(ActionStatus newStatus)
Returns an new
SagaAction with just the status updated |
Modifier and Type | Field and Description |
---|---|
Map<ActionId,SagaAction<A>> |
Saga.actions
Actions are stored in a map by
ActionId . |
Modifier and Type | Method and Description |
---|---|
static <A> Saga<A> |
Saga.of(Map<ActionId,SagaAction<A>> actions) |
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.
|
Copyright © 2019. All rights reserved.