Package org.ek9lang.cli
Enum Class DependencyNode.RejectionReason
- All Implemented Interfaces:
Serializable
,Comparable<DependencyNode.RejectionReason>
,Constable
- Enclosing class:
DependencyNode
Why was a dependency rejected.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe developer configured this dependency to be rejected in the package directive.After rationalisation did the Dependency manager then workout that actually this dependency is not needed at any version number, this can happen if lower version numbered dependencies pull in other dependencies, but then the lower version numbered dependency gets rationalised away, leaving a trail of stuff it pulled in that is now no longer needed.When the Dependency manager resolved all the dependencies did it find a later version And resolve this version of the dependency away.If we find the same module and also the same version then we have it. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DependencyNode.RejectionReason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MANUAL
The developer configured this dependency to be rejected in the package directive. -
RATIONALISATION
When the Dependency manager resolved all the dependencies did it find a later version And resolve this version of the dependency away. -
SAME_VERSION
If we find the same module and also the same version then we have it. -
OPTIMISED
After rationalisation did the Dependency manager then workout that actually this dependency is not needed at any version number, this can happen if lower version numbered dependencies pull in other dependencies, but then the lower version numbered dependency gets rationalised away, leaving a trail of stuff it pulled in that is now no longer needed. You can just reject the dependencies and all it's dependencies directly as those dependencies might be used elsewhere.
-
-
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
-