Phase

com.gu.play.secretrotation.Phase
trait Phase[T]

A 'phase' holds the particular set of secrets that are active/accepted for a given period of time

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait PhaseAges
class PhaseAge
object Completed
object InProgress
object Upcoming

Members list

Value members

Concrete methods

final def accepted: LazyList[T]
def map[S](f: T => S): Phase[S]
final def onlyAcceptsActive: Boolean

Abstract fields

val active: T
val alsoAccepted: Iterable[T]