net.alloyggp.tournament.api.NextMatchesResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ggp-tournament Show documentation
Show all versions of ggp-tournament Show documentation
A library for GGP tournament specification and scheduling.
package net.alloyggp.tournament.api;
import java.time.ZonedDateTime;
import java.util.Optional;
import com.google.common.collect.ImmutableSet;
public interface NextMatchesResult {
ImmutableSet getMatchesToRun();
Optional getEarliestAllowedStartTime();
/**
* If a restriction on the start time for the matches is defined and
* has not yet passed, returns the number of seconds left until
* that start time. Otherwise, returns zero.
*/
long getSecondsToWaitUntilAllowedStartTime();
}