Enum Class ReleaseStatusInspector.Status

java.lang.Object
java.lang.Enum<ReleaseStatusInspector.Status>
network.ike.plugin.ws.ReleaseStatusInspector.Status
All Implemented Interfaces:
Serializable, Comparable<ReleaseStatusInspector.Status>, Constable
Enclosing class:
ReleaseStatusInspector

public static enum ReleaseStatusInspector.Status extends Enum<ReleaseStatusInspector.Status>
High-level summary of a subproject's release state, derived from git artifacts alone. Cycle 2+ of #187 will refine these states once a .ike/release-state.json file is also available.
  • Enum Constant Details

    • CLEAN

      public static final ReleaseStatusInspector.Status CLEAN
      No in-flight release artifacts. The subproject is either fully released or has never been released.
    • IN_FLIGHT

      public static final ReleaseStatusInspector.Status IN_FLIGHT
      The subproject has at least one of: a release/* branch left behind by an interrupted release, a local v* tag that was never pushed to origin. A previous release attempt did not run to completion.
    • DIVERGED

      public static final ReleaseStatusInspector.Status DIVERGED
      Contradictory signals: a release/* branch is still present locally, AND the corresponding v* tag is already on origin. The release likely completed on another machine (or via a manual recovery), and the local branch is stale debris.
    • ABSENT

      public static final ReleaseStatusInspector.Status ABSENT
      The subproject directory is not present in the workspace checkout. No inference possible.
  • Method Details

    • values

      public static ReleaseStatusInspector.Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReleaseStatusInspector.Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • badge

      public String badge()
      Single-character glyph suitable for status-line output.
    • label

      public String label()
      Lowercase human label.