com.opendatagroup.hadrian.signature

Lifespan

case class Lifespan(birth: Option[PFAVersion], deprecation: Option[PFAVersion], death: Option[PFAVersion], contingency: Option[String]) extends Product with Serializable

Describes the range of support of a function signature (or, in the future, special form) in terms of an optional beginning of life (birth), and optional deprecation and end of life (death).

If a deprecation is specified, a death must be as well, and vice-versa. Whether or not a birth is specified is independent.

At a given PFAVersion PFAVersion, the Lifespan has three possible states: current (method current returns true), deprecated (method deprecated returns true), and non-existent (both current and deprecated return false). Method current and deprecated are mutually exclusive; for a given PFAVersion PFAVersion, they would never both return true.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Lifespan
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Lifespan(birth: Option[PFAVersion], deprecation: Option[PFAVersion], death: Option[PFAVersion], contingency: Option[String])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val birth: Option[PFAVersion]

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val contingency: Option[String]

  10. def current(now: PFAVersion): Boolean

    now

    the version number to query

    returns

    true if the feature exists and is not deprecated in version now, false otherwise.

  11. val death: Option[PFAVersion]

  12. def deprecated(now: PFAVersion): Boolean

    now

    the version number to query

    returns

    true if the feature exists and is deprecated in version now, false otherwise.

  13. val deprecation: Option[PFAVersion]

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped