public interface ExperimentQueue
| Modifier and Type | Method and Description |
|---|---|
void |
add(ExperimentConfiguration experiment)
Adds the given experiment to the queue.
|
ExperimentConfiguration |
getExperiment(String experimentId)
Retrieves the experiment configuration with the given experiment id.
|
ExperimentConfiguration |
getNextExperiment()
Returns the experiment that should be executed next.
|
List<ExperimentConfiguration> |
listAll()
Returns the list of all experiments waiting in this queue.
|
boolean |
remove(ExperimentConfiguration experiment)
Removes the experiment from the queue.
|
ExperimentConfiguration getNextExperiment()
void add(ExperimentConfiguration experiment)
experiment - the experiment that should be addedboolean remove(ExperimentConfiguration experiment)
experiment - the experiment that should be removed from the queuetrue if the given experiment has been removedList<ExperimentConfiguration> listAll()
ExperimentConfiguration getExperiment(String experimentId)
experimentId - the id of the experiment that should be retrievednull if such an experiment
can not be foundCopyright © 2017–2018. All rights reserved.