Enum Class NuggetDiscovery.Status

java.lang.Object
java.lang.Enum<NuggetDiscovery.Status>
org.j7m.middleware.operations.api.NuggetDiscovery.Status
All Implemented Interfaces:
Serializable, Comparable<NuggetDiscovery.Status>, Constable
Enclosing class:
NuggetDiscovery

public static enum NuggetDiscovery.Status extends Enum<NuggetDiscovery.Status>
Public discovery record status.
  • Enum Constant Details

    • ACTIVE

      public static final NuggetDiscovery.Status ACTIVE
      Record is active according to its own lease and current collection time.
    • STALE

      public static final NuggetDiscovery.Status STALE
      Record is stale and must not resolve as active.
    • CONFLICTED

      public static final NuggetDiscovery.Status CONFLICTED
      Record conflicts with another source.
    • UNRESOLVED

      public static final NuggetDiscovery.Status UNRESOLVED
      Configured target has not yet disclosed a nugget identity.
    • UNKNOWN

      public static final NuggetDiscovery.Status UNKNOWN
      Record could not be classified safely.
  • Method Details

    • values

      public static NuggetDiscovery.Status[] 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 NuggetDiscovery.Status 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