| Package | Description |
|---|---|
| net.anwiba.commons.workflow | |
| net.anwiba.commons.workflow.state | |
| net.anwiba.commons.workflow.transition |
| Modifier and Type | Method and Description |
|---|---|
void |
Workflow.execute(IState<T> state) |
void |
IWorkflow.execute(IState<T> state) |
IExecutable<T> |
WorkflowController.next(IState<T> state) |
IExecutable<T> |
IWorkflowController.next(IState<T> state) |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkflowBuilder.add(IApplicable<IState<T>> applicable,
IExecutable<T> executable) |
void |
IWorkflowBuilder.add(IApplicable<IState<T>> applicable,
IExecutable<T> executable) |
void |
WorkflowBuilder.add(IApplicable<IState<T>> applicable,
IFunction<IState<T>,IExecutable<T>,RuntimeException> factory) |
void |
WorkflowBuilder.add(IApplicable<IState<T>> applicable,
IFunction<IState<T>,IExecutable<T>,RuntimeException> factory) |
void |
IWorkflowBuilder.add(IApplicable<IState<T>> applicable,
IFunction<IState<T>,IExecutable<T>,RuntimeException> factory) |
void |
IWorkflowBuilder.add(IApplicable<IState<T>> applicable,
IFunction<IState<T>,IExecutable<T>,RuntimeException> factory) |
void |
IExecutable.execute(IObjectReceiver<IState<T>> receiver) |
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorState<T> |
class |
MessageState<T> |
class |
State<T> |
| Modifier and Type | Method and Description |
|---|---|
IState<T> |
MessageState.followingState() |
IState<T> |
ErrorState.followingState() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
StateUtilities.equals(IState<?> state,
Object context,
IStateType stateType) |
| Constructor and Description |
|---|
ErrorState(String title,
String text,
Throwable throwable,
IState<T> followingState) |
MessageState(String title,
IMessage message,
IState<T> followingState) |
| Modifier and Type | Method and Description |
|---|---|
IExecutable<T> |
Transition.getExecutable(IState<T> state) |
IExecutable<T> |
ITransition.getExecutable(IState<T> state) |
boolean |
Transition.isApplicable(IState<T> state) |
boolean |
ITransition.isApplicable(IState<T> state) |
| Constructor and Description |
|---|
Transition(IApplicable<IState<T>> applicable,
IFunction<IState<T>,IExecutable<T>,RuntimeException> factory) |
Transition(IApplicable<IState<T>> applicable,
IFunction<IState<T>,IExecutable<T>,RuntimeException> factory) |
Copyright © 2007–2017 Andreas Bartels. All rights reserved.