- java.lang.Object
-
- java.lang.Enum<EndpointConfig.AnnotationScope>
-
- io.helidon.security.EndpointConfig.AnnotationScope
-
- All Implemented Interfaces:
Serializable
,Comparable<EndpointConfig.AnnotationScope>
- Enclosing class:
- EndpointConfig
public static enum EndpointConfig.AnnotationScope extends Enum<EndpointConfig.AnnotationScope>
Scope of annotations used in applications that integrate security.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION
Annotations on an application class or application layer.CLASS
Annotations on a resource class.FIELD
Annotations on field.METHOD
Annotation on a resource method.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EndpointConfig.AnnotationScope
valueOf(String name)
Returns the enum constant of this type with the specified name.static EndpointConfig.AnnotationScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPLICATION
public static final EndpointConfig.AnnotationScope APPLICATION
Annotations on an application class or application layer. Example: JAX-RS application class annotation
-
CLASS
public static final EndpointConfig.AnnotationScope CLASS
Annotations on a resource class. Example: JAX-RS resource class annotation
-
METHOD
public static final EndpointConfig.AnnotationScope METHOD
Annotation on a resource method. Example: JAX-RS resource method annotation
-
FIELD
public static final EndpointConfig.AnnotationScope FIELD
Annotations on field. Example: annotated client declaration
-
-
Method Detail
-
values
public static EndpointConfig.AnnotationScope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EndpointConfig.AnnotationScope c : EndpointConfig.AnnotationScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EndpointConfig.AnnotationScope valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-