Search in sources :

Example 1 with HistoryItem

use of abs.backend.java.scheduling.HistoryItem in project abstools by abstools.

the class HistoryReplayScheduler method getOptionByHistory.

private ScheduleAction getOptionByHistory(ScheduleOptions options) {
    HistoryItem item = history.remove(0);
    for (ScheduleAction a : options.allOptions()) {
        if (item.matches(a)) {
            return a;
        }
    }
    showErrorMessageAsync("Illegal History!");
    ABSRuntime.getCurrentRuntime().shutdown();
    return null;
}
Also used : ScheduleAction(abs.backend.java.scheduling.ScheduleAction) HistoryItem(abs.backend.java.scheduling.HistoryItem)

Aggregations

HistoryItem (abs.backend.java.scheduling.HistoryItem)1 ScheduleAction (abs.backend.java.scheduling.ScheduleAction)1