Enum Class ReleaseStatusInspector.Status
- All Implemented Interfaces:
Serializable, Comparable<ReleaseStatusInspector.Status>, Constable
- Enclosing class:
ReleaseStatusInspector
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.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe subproject directory is not present in the workspace checkout.No in-flight release artifacts.Contradictory signals: arelease/*branch is still present locally, AND the correspondingv*tag is already onorigin.The subproject has at least one of: arelease/*branch left behind by an interrupted release, a localv*tag that was never pushed toorigin. -
Method Summary
Modifier and TypeMethodDescriptionbadge()Single-character glyph suitable for status-line output.label()Lowercase human label.Returns the enum constant of this class with the specified name.static ReleaseStatusInspector.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLEAN
No in-flight release artifacts. The subproject is either fully released or has never been released. -
IN_FLIGHT
The subproject has at least one of: arelease/*branch left behind by an interrupted release, a localv*tag that was never pushed toorigin. A previous release attempt did not run to completion. -
DIVERGED
Contradictory signals: arelease/*branch is still present locally, AND the correspondingv*tag is already onorigin. The release likely completed on another machine (or via a manual recovery), and the local branch is stale debris. -
ABSENT
The subproject directory is not present in the workspace checkout. No inference possible.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
badge
Single-character glyph suitable for status-line output. -
label
Lowercase human label.
-