Enum Class ColorResolver.Status
- All Implemented Interfaces:
Serializable, Comparable<ColorResolver.Status>, Constable
- Enclosing class:
ColorResolver
The outcome of a resolution.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe chain of references leads back to a palette color already visited.The palette color, a value for the scheme or a target along the chain is not there.A literal or inherit was reached.The chain of references is deeper thanColorResolver.MAX_DEPTH.Method Summary
Modifier and TypeMethodDescriptionstatic ColorResolver.StatusReturns the enum constant of this class with the specified name.static ColorResolver.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
RESOLVED
A literal or inherit was reached.MISSING
The palette color, a value for the scheme or a target along the chain is not there.CYCLE
The chain of references leads back to a palette color already visited.TOO_DEEP
The chain of references is deeper thanColorResolver.MAX_DEPTH.
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