Enum Class RegistryTrustStatus

java.lang.Object
java.lang.Enum<RegistryTrustStatus>
org.j7m.middleware.registry.api.RegistryTrustStatus
All Implemented Interfaces:
Serializable, Comparable<RegistryTrustStatus>, Constable

public enum RegistryTrustStatus extends Enum<RegistryTrustStatus>
Placeholder trust marker for registry peers.

Phase 2 records the value for diagnostics and future policy inputs only. Phase 3 may attach authentication and authorization enforcement to this field.

  • Enum Constant Details

    • TRUSTED

      public static final RegistryTrustStatus TRUSTED
      Peer is configured as trusted by local policy.
    • UNTRUSTED

      public static final RegistryTrustStatus UNTRUSTED
      Peer is configured as untrusted by local policy.
    • UNVERIFIED

      public static final RegistryTrustStatus UNVERIFIED
      Peer has not been verified.
  • Method Details

    • values

      public static RegistryTrustStatus[] 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 RegistryTrustStatus 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