Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LifeCycle

Hierarchy

  • LifeCycle

Index

Constructors

constructor

Properties

deleted

deleted: Version | null

deletionMessage

deletionMessage: string

deprecationMessage

deprecationMessage: string

introduced

introduced: Version | null

Methods

getCurrentState

isAvailableIn

  • isAvailableIn(version: Version): boolean
  • Yields true if this feature is available in the specified version, that is:

    • it was in base, or added before the specified version
    • it was not removed yet in the given version
    • deprecation statues does not influence it results

    Parameters

    Returns boolean

isRemovedIn

  • isRemovedIn(version: Version): boolean
  • Yields true only if this version was actively removed in the given version. Doesn't yield true if the feature was not yet introduced in the given version (see isAvailableIn for that)

    Parameters

    Returns boolean

reportVersionIssues

  • reportVersionIssues(version: Version, aboutWhatMessage: string): boolean
  • Checks a version based on this lifecycle. Returns true if something is thrown or warned, otherwise false

    Parameters

    • version: Version
    • aboutWhatMessage: string

    Returns boolean

Generated using TypeDoc