public static enum AnnotationAnalyzer.Flag extends Enum<AnnotationAnalyzer.Flag>
| Enum Constant and Description |
|---|
ABSTAIN
This analyzer is not capable of asserting the need to do security - carry on as if it did not exist.
|
FORBIDDEN
Security MUST NOT be used (strictly public endpoint - do not invoke security).
|
OPTIONAL
Security MAY be used (e.g.
|
REQUIRED
Security MUST be enforced.
|
| Modifier and Type | Method and Description |
|---|---|
static AnnotationAnalyzer.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationAnalyzer.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationAnalyzer.Flag REQUIRED
public static final AnnotationAnalyzer.Flag OPTIONAL
public static final AnnotationAnalyzer.Flag FORBIDDEN
public static final AnnotationAnalyzer.Flag ABSTAIN
public static AnnotationAnalyzer.Flag[] values()
for (AnnotationAnalyzer.Flag c : AnnotationAnalyzer.Flag.values()) System.out.println(c);
public static AnnotationAnalyzer.Flag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.