Enum Class NuggetDiscovery.Source

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

public static enum NuggetDiscovery.Source extends Enum<NuggetDiscovery.Source>
Discovery source category in descending trust priority.
  • Enum Constant Details

    • LOCAL_RECORD

      public static final NuggetDiscovery.Source LOCAL_RECORD
      J7M-owned local protected discovery record.
    • CONFIGURED_TARGET

      public static final NuggetDiscovery.Source CONFIGURED_TARGET
      Explicit configured endpoint target.
    • FIRST_PARTY_REGISTRY

      public static final NuggetDiscovery.Source FIRST_PARTY_REGISTRY
      First-party registry or coordination source.
    • MULTICAST_BOOTSTRAP

      public static final NuggetDiscovery.Source MULTICAST_BOOTSTRAP
      Explicitly enabled multicast or bootstrap source.
    • UNKNOWN

      public static final NuggetDiscovery.Source UNKNOWN
      Source is not known.
  • Method Details

    • values

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