Enum Class FoundationBaker.Status
- All Implemented Interfaces:
Serializable, Comparable<FoundationBaker.Status>, Constable
- Enclosing class:
FoundationBaker
Classification of a foundation pin against its latest GA.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLatest GA is newer than the pin — a bake is needed.Pin is newer than any GA — a backward bake; release fails.Pin already equals the latest GA.No released version could be resolved for the coordinate. -
Method Summary
Modifier and TypeMethodDescriptionstatic FoundationBaker.StatusReturns the enum constant of this class with the specified name.static FoundationBaker.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AHEAD
Latest GA is newer than the pin — a bake is needed. -
CURRENT
Pin already equals the latest GA. -
BEHIND
Pin is newer than any GA — a backward bake; release fails. -
UNRESOLVED
No released version could be resolved for the coordinate.
-
-
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
-