01: package dalma.container;
02:
03: /**
04: * State of {@link WorkflowApplication}.
05: *
06: * @author Kohsuke Kawaguchi
07: */
08: public enum WorkflowState {
09: /**
10: * The workflow application is up and running, and is processing messages.
11: */
12: RUNNING,
13: /**
14: * The workflow application is loaded into memory, but not processing messages.
15: *
16: * <p>
17: * In this omode, information about workflow can be accessed, but application
18: * code is locked since it's loaded.
19: */
20: STOPPED,
21: /**
22: * The workflow application is completely removed from the memory.
23: *
24: * <p>
25: * Many useful information about workflow cannot be accessed, but
26: * application code can be replaced on disk while in this state.
27: */
28: UNLOADED
29: }
|