All Packages Class Hierarchy This Package Previous Next Index
Class oplan.acp3.TrivialProcessModel
java.lang.Object
|
+----oplan.acp3.ProcessModel
|
+----oplan.acp3.TrivialProcessModel
- public class TrivialProcessModel
- extends ProcessModel
A very simple ProcessModel class for debugging.
-
viewer
-
-
TrivialProcessModel()
-
-
finishAction(String, int)
- Called by a watcher when it detects that an action has finished.
-
finishAction(String, int, int)
- Called by a watcher when it detects that an action has finished.
-
note(String)
-
-
reset()
- Remove all COAs, their associated actions, and all current state
information.
-
sendFullStateDescription()
- Send the viewer a complete state description, rather than a delta.
-
setViewer(ProcessViewer)
- Install a viewer that will be sent status information when changes
occur.
-
startAction(String, int)
- Called by a watcher when it detects that an action has started.
-
startAction(String, int, int)
- Called by a watcher when it detects that an action has started.
viewer
ProcessViewer viewer
TrivialProcessModel
public TrivialProcessModel()
setViewer
public synchronized void setViewer(ProcessViewer viewer)
- Install a viewer that will be sent status information when changes
occur.
- Overrides:
- setViewer in class ProcessModel
reset
public synchronized void reset()
- Remove all COAs, their associated actions, and all current state
information.
- Overrides:
- reset in class ProcessModel
sendFullStateDescription
public synchronized void sendFullStateDescription()
- Send the viewer a complete state description, rather than a delta.
- Overrides:
- sendFullStateDescription in class ProcessModel
startAction
public void startAction(String action,
int coa)
- Called by a watcher when it detects that an action has started.
- Overrides:
- startAction in class ProcessModel
startAction
public void startAction(String action,
int coa,
int level)
- Called by a watcher when it detects that an action has started.
- Overrides:
- startAction in class ProcessModel
finishAction
public void finishAction(String action,
int coa)
- Called by a watcher when it detects that an action has finished.
- Overrides:
- finishAction in class ProcessModel
finishAction
public void finishAction(String action,
int coa,
int level)
- Called by a watcher when it detects that an action has finished.
- Overrides:
- finishAction in class ProcessModel
note
protected void note(String message)
All Packages Class Hierarchy This Package Previous Next Index