public Collection<TimeWindow> getTimeWindows(){ return timeWindows.getTimeWindows(); }
/** * Returns the time-window a service(-operation) is allowed to start. * It is recommended to use getTimeWindows() instead. If you still use this, it returns the first time window of getTimeWindows() collection. * * @return time window * */ public TimeWindow getTimeWindow() { return timeWindows.getTimeWindows().iterator().next(); }
public Collection<TimeWindow> getTimeWindows(){ return timeWindowManager.getTimeWindows(); }
/** * Returns the time-window a service(-operation) is allowed to start. * It is recommended to use getTimeWindows() instead. If you still use this, it returns the first time window of getTimeWindows() collection. * * @return time window * */ public TimeWindow getTimeWindow() { return timeWindowManager.getTimeWindows().iterator().next(); }