Enum Class VersionLookup.Outcome

java.lang.Object
java.lang.Enum<VersionLookup.Outcome>
com.ultikits.ultitools.utils.VersionLookup.Outcome
All Implemented Interfaces:
Serializable, Comparable<VersionLookup.Outcome>, java.lang.constant.Constable
Enclosing class:
VersionLookup

public static enum VersionLookup.Outcome extends Enum<VersionLookup.Outcome>
What the lookup established.
  • Enum Constant Details

    • FOUND

      public static final VersionLookup.Outcome FOUND
      The catalogue named a version.
    • NONE

      public static final VersionLookup.Outcome NONE
      The catalogue answered that it has nothing to offer (an unknown module, no compatible or no finalized version).
    • FAILED

      public static final VersionLookup.Outcome FAILED
      Nothing was established: unreachable, an error status, or an unreadable body.
  • Constructor Details

    • Outcome

      private Outcome()
  • Method Details

    • values

      public static VersionLookup.Outcome[] 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 VersionLookup.Outcome 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