|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rubato.composer.Runner
public class Runner
A Runner runs the network previously set using the method setNetwork().
Constructor Summary | |
---|---|
Runner(JComposer composer)
Creates a new runner for the given JComposer. |
Method Summary | |
---|---|
void |
addProblem(java.lang.String msg,
RubetteModel model)
Adds a new problem to the list of problems. |
void |
addProblems(java.util.List<java.lang.String> msgs,
RubetteModel model)
Adds a list of new problems to the list of problems. |
java.util.List<Problem> |
getProblems()
Returns the list of problems. |
void |
run()
Runs the current network. |
void |
setList(NetworkModel network,
java.util.ArrayList<RubetteModel> list)
Sets a list of rubettes to run in the given network. |
void |
setNetwork(NetworkModel network)
Sets the network to run. |
void |
start()
Begins running of the network. |
void |
stop()
Stops running of the network. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Runner(JComposer composer)
Method Detail |
---|
public void setNetwork(NetworkModel network)
public void setList(NetworkModel network, java.util.ArrayList<RubetteModel> list)
public void run()
run
in interface java.lang.Runnable
public void addProblem(java.lang.String msg, RubetteModel model)
msg
- the string describing the problemmodel
- the RubetteModel where the problem occurredpublic void addProblems(java.util.List<java.lang.String> msgs, RubetteModel model)
msgs
- a list of the strings describing the problemsmodel
- the RubetteModel where the problems occurredpublic java.util.List<Problem> getProblems()
public void start()
public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |