Package com.xebialabs.xlrelease.domain.blackout

# Class BlackoutMetadata

java.lang.Object
com.xebialabs.xlrelease.domain.blackout.BlackoutMetadata

All Implemented Interfaces:
  `InternalMetadata`, `Serializable`

public class BlackoutMetadata extends Object implements InternalMetadata

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BlackoutMetadata(List<BlackoutPeriod> periods)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static List<BlackoutPeriod>`
  `$lessinit$greater$default$1()`
  `static BlackoutMetadata`
  `apply(List<BlackoutPeriod> periods)`
  `static BlackoutMetadata`
  `apply(scala.collection.immutable.Seq<BlackoutPeriod> periods)`
  `static String`
  `BLACKOUT()`
  `static BlackoutMetadata`
  `empty()`
  `Date`
  `getEndOfBlackout(Date now)`
  `boolean`
  `isInBlackout(Date now)`
  `static Date`
  `toStartOfNextMinute(Date date)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BlackoutMetadata

    public BlackoutMetadata(List<BlackoutPeriod> periods)

- ## Method Details

  - ### $lessinit$greater$default$1

    public static List<BlackoutPeriod> $lessinit$greater$default$1()

  - ### apply

    public static BlackoutMetadata apply(List<BlackoutPeriod> periods)

  - ### apply

    public static BlackoutMetadata apply(scala.collection.immutable.Seq<BlackoutPeriod> periods)

  - ### empty

    public static BlackoutMetadata empty()

  - ### BLACKOUT

    public static String BLACKOUT()

  - ### toStartOfNextMinute

    public static Date toStartOfNextMinute(Date date)

  - ### isInBlackout

    public boolean isInBlackout(Date now)

  - ### getEndOfBlackout

    public Date getEndOfBlackout(Date now)