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;
}
Aggregations