Enum Class AnnotationPolicyRegistry.Kind
java.lang.Object
java.lang.Enum<AnnotationPolicyRegistry.Kind>
org.j7m.middleware.application.components.AnnotationPolicyRegistry.Kind
- All Implemented Interfaces:
Serializable, Comparable<AnnotationPolicyRegistry.Kind>, Constable
- Enclosing class:
AnnotationPolicyRegistry
Independent policy namespaces; the same name may exist in different kinds.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHost isolation profile.Observation configuration for a future registered adapter.Admission/rate-limit policy.Host resource requirement.Retry configuration for a future registered adapter.Routing/selection configuration for a future registered adapter. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AnnotationPolicyRegistry.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RATE_LIMIT
Admission/rate-limit policy. -
RESOURCE
Host resource requirement. -
ISOLATION
Host isolation profile. -
RETRY
Retry configuration for a future registered adapter. -
ROUTING
Routing/selection configuration for a future registered adapter. -
OBSERVABILITY
Observation configuration for a future registered adapter.
-
-
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
-