public enum SecurityAnnotation extends Enum<SecurityAnnotation>
RolesAllowed.| Enum Constant and Description |
|---|
disable
Disables forbidden commands.
|
hide
Hides forbidden commands.
|
ignore
Tobago ignores the role annotation.
|
| Modifier and Type | Method and Description |
|---|---|
static SecurityAnnotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityAnnotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityAnnotation hide
public static final SecurityAnnotation disable
public static final SecurityAnnotation ignore
public static SecurityAnnotation[] values()
for (SecurityAnnotation c : SecurityAnnotation.values()) System.out.println(c);
public static SecurityAnnotation 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 © 2002–2022 The Apache Software Foundation. All rights reserved.