public class BeagleController extends Object
BeagleController can start,
pause, continue, and abort an Analysis. The controller has to be initialised through
initialise() before it can be used.| Constructor and Description |
|---|
BeagleController(BeagleConfiguration beagleConfiguration)
Constructs a new
BeagleController with the given
BeagleConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
void |
abortAnalysis()
Aborts the analysis.
|
void |
continueAnalysis()
Continues the analysis if it is paused.
|
void |
initialise()
Initialises this controller, making it ready to start the analysis.
|
void |
pauseAnalysis()
Pauses the analysis.
|
void |
startAnalysis()
Starts the analysis.
|
public BeagleController(BeagleConfiguration beagleConfiguration)
BeagleController with the given
BeagleConfiguration.beagleConfiguration - The BeagleConfiguration this BeagleController
has permanently. It cannot be changed.
BeagleConfiguration.finalise() must have been called.public void initialise()
public void startAnalysis()
BeagleController
. Further calls will be ignored.IllegalStateException - If initialise() has not been called yet.public void pauseAnalysis()
AnalysisController
started by this controller.IllegalStateException - If the analysis has not been started yet or this
controller has not been initialised yet.public void continueAnalysis()
AnalysisController started by this controller.IllegalStateException - If the analysis has not been started yet or this
controller has not been initialised yet.public void abortAnalysis()
AnalysisController
started by this controller.IllegalStateException - If the analysis has not been started yet or this
controller has not been initialised yet.