Enum Class NuggetDiscovery.Source
- All Implemented Interfaces:
Serializable, Comparable<NuggetDiscovery.Source>, Constable
- Enclosing class:
NuggetDiscovery
Discovery source category in descending trust priority.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExplicit configured endpoint target.First-party registry or coordination source.J7M-owned local protected discovery record.Explicitly enabled multicast or bootstrap source.Source is not known. -
Method Summary
Modifier and TypeMethodDescriptionstatic NuggetDiscovery.SourceReturns the enum constant of this class with the specified name.static NuggetDiscovery.Source[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOCAL_RECORD
J7M-owned local protected discovery record. -
CONFIGURED_TARGET
Explicit configured endpoint target. -
FIRST_PARTY_REGISTRY
First-party registry or coordination source. -
MULTICAST_BOOTSTRAP
Explicitly enabled multicast or bootstrap source. -
UNKNOWN
Source is not known.
-
-
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
-