Enum Class DependencyNode.RejectionReason

java.lang.Object
java.lang.Enum<DependencyNode.RejectionReason>
org.ek9lang.cli.DependencyNode.RejectionReason
All Implemented Interfaces:
Serializable, Comparable<DependencyNode.RejectionReason>, Constable
Enclosing class:
DependencyNode

public static enum DependencyNode.RejectionReason extends Enum<DependencyNode.RejectionReason>
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 Constants
    Enum Constant
    Description
    The 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • MANUAL

      public static final DependencyNode.RejectionReason MANUAL
      The developer configured this dependency to be rejected in the package directive.
    • RATIONALISATION

      public static final DependencyNode.RejectionReason 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

      public static final DependencyNode.RejectionReason SAME_VERSION
      If we find the same module and also the same version then we have it.
    • OPTIMISED

      public static final DependencyNode.RejectionReason 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

      public static DependencyNode.RejectionReason[] 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 DependencyNode.RejectionReason 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