PhaseSchedule

com.gu.play.secretrotation.PhaseSchedule
case class PhaseSchedule[T](initialPhase: Phase[T], phaseStarts: (Instant, Phase[T])*)

From hitting a datastore, we can determine a sequence of Phases, with their start and stop times.

So for any given state, there is a phase schedule.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def phaseAt(instant: Instant): Phase[T]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val phasesByStart: SortedMap[Instant, Phase[T]]