public class RuntimeState
extends java.lang.Object
Constructor and Description |
---|
RuntimeState() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
getRunning(java.util.Collection<IModel> running) |
void |
getSuspended(java.util.Collection<IModel> suspended) |
void |
getTerminated(java.util.Collection<IModel> terminated) |
boolean |
isRunning()
true if any models are currently running
|
boolean |
isSuspended()
true if all the models are suspended
|
void |
resumed(IModel model) |
void |
started()
called after all the models have started
|
void |
starting()
called just before the full system starts.
|
void |
starting(IModel model)
called just before a model starts to execute..
|
void |
stopped(IModel model) |
void |
suspended(IModel model) |
public void clear()
public void getRunning(java.util.Collection<IModel> running)
public void getTerminated(java.util.Collection<IModel> terminated)
public void getSuspended(java.util.Collection<IModel> suspended)
public boolean isRunning()
public boolean isSuspended()
public void starting()
public void started()
public void starting(IModel model)
model
- public void stopped(IModel model)
public void suspended(IModel model)
public void resumed(IModel model)