Inherited by alma.acs.commandcenter.engine.Executor.LocalInProcFlow, alma.acs.commandcenter.engine.Executor.LocalOutProcFlow, alma.acs.commandcenter.engine.Executor.RemoteContainerDaemonFlow, alma.acs.commandcenter.engine.Executor.RemoteFlow, alma.acs.commandcenter.engine.Executor.RemoteServicesDaemonFlow, and alma.acs.commandcenter.engine.Executor.SingleStepFlow.
Classes | |
class | Node |
Public Member Functions | |
void | consistsOf (String parent, String[] kids) |
String | current () |
void | reset (Object info) |
void | trying (String step) |
void | success (String step) |
void | failure (Object info) |
void | addListener (FlowListener l) |
void | removeListener (FlowListener l) |
Protected Member Functions | |
Node | node (String name) |
void | fireReset (Object info) |
void | fireTrying (String step) |
void | fireSuccess (String step) |
void | fireFailure (String step, Object info) |
void | fireCompletion () |
Protected Attributes | |
final Node | UNDEF = new Node("") |
Map< String, Node > | name2node = new HashMap<String,Node>() |
Node | latestSuccess = UNDEF |
Node | nowTrying = UNDEF |
Vector< FlowListener > | listeners = new Vector<FlowListener>() |
The base class for flow tracing, subclass this to define a flow.
void alma.acs.commandcenter.trace.Flow.addListener | ( | FlowListener | l | ) |
References alma.acs.commandcenter.trace.Flow.listeners.
Referenced by alma.acs.commandcenter.trace.DefaultChecklistPanel.setFlow().
void alma.acs.commandcenter.trace.Flow.consistsOf | ( | String | parent, | |
String[] | kids | |||
) |
References alma.acs.commandcenter.trace.Flow.node().
String alma.acs.commandcenter.trace.Flow.current | ( | ) |
References alma.acs.commandcenter.trace.Flow.Node.getName(), alma.acs.commandcenter.trace.Flow.latestSuccess, alma.acs.commandcenter.trace.Flow.node(), alma.acs.commandcenter.trace.Flow.nowTrying, and alma.acs.commandcenter.trace.Flow.UNDEF.
Referenced by alma.acs.commandcenter.trace.Flow.failure().
void alma.acs.commandcenter.trace.Flow.failure | ( | Object | info | ) |
void alma.acs.commandcenter.trace.Flow.fireCompletion | ( | ) | [protected] |
References alma.acs.commandcenter.trace.Flow.listeners.
Referenced by alma.acs.commandcenter.trace.Flow.success().
void alma.acs.commandcenter.trace.Flow.fireFailure | ( | String | step, | |
Object | info | |||
) | [protected] |
References alma.acs.commandcenter.trace.Flow.failure(), and alma.acs.commandcenter.trace.Flow.listeners.
Referenced by alma.acs.commandcenter.trace.Flow.failure().
void alma.acs.commandcenter.trace.Flow.fireReset | ( | Object | info | ) | [protected] |
References alma.acs.commandcenter.trace.Flow.listeners, and alma.acs.commandcenter.trace.Flow.reset().
Referenced by alma.acs.commandcenter.trace.Flow.reset().
void alma.acs.commandcenter.trace.Flow.fireSuccess | ( | String | step | ) | [protected] |
References alma.acs.commandcenter.trace.Flow.listeners, and alma.acs.commandcenter.trace.Flow.success().
Referenced by alma.acs.commandcenter.trace.Flow.success().
void alma.acs.commandcenter.trace.Flow.fireTrying | ( | String | step | ) | [protected] |
References alma.acs.commandcenter.trace.Flow.listeners, and alma.acs.commandcenter.trace.Flow.trying().
Referenced by alma.acs.commandcenter.trace.Flow.trying().
Node alma.acs.commandcenter.trace.Flow.node | ( | String | name | ) | [protected] |
void alma.acs.commandcenter.trace.Flow.removeListener | ( | FlowListener | l | ) |
References alma.acs.commandcenter.trace.Flow.listeners.
Referenced by alma.acs.commandcenter.trace.DefaultChecklistPanel.setFlow().
void alma.acs.commandcenter.trace.Flow.reset | ( | Object | info | ) |
void alma.acs.commandcenter.trace.Flow.success | ( | String | step | ) |
References alma.acs.commandcenter.trace.Flow.fireCompletion(), alma.acs.commandcenter.trace.Flow.fireSuccess(), alma.acs.commandcenter.trace.Flow.latestSuccess, alma.acs.commandcenter.trace.Flow.node(), alma.acs.commandcenter.trace.Flow.nowTrying, and alma.acs.commandcenter.trace.Flow.UNDEF.
Referenced by alma.acs.commandcenter.trace.Flow.fireSuccess().
void alma.acs.commandcenter.trace.Flow.trying | ( | String | step | ) |
Node alma.acs.commandcenter.trace.Flow.latestSuccess = UNDEF [protected] |
Vector<FlowListener> alma.acs.commandcenter.trace.Flow.listeners = new Vector<FlowListener>() [protected] |
Referenced by alma.acs.commandcenter.trace.Flow.addListener(), alma.acs.commandcenter.trace.Flow.fireCompletion(), alma.acs.commandcenter.trace.Flow.fireFailure(), alma.acs.commandcenter.trace.Flow.fireReset(), alma.acs.commandcenter.trace.Flow.fireSuccess(), alma.acs.commandcenter.trace.Flow.fireTrying(), and alma.acs.commandcenter.trace.Flow.removeListener().
Map<String,Node> alma.acs.commandcenter.trace.Flow.name2node = new HashMap<String,Node>() [protected] |
Node alma.acs.commandcenter.trace.Flow.nowTrying = UNDEF [protected] |
final Node alma.acs.commandcenter.trace.Flow.UNDEF = new Node("") [protected] |