java.io.Serializable
, java.lang.Comparable<Role.RequiredMode>
public static enum Role.RequiredMode extends java.lang.Enum<Role.RequiredMode>
Enum Constant | Description |
---|---|
ALL_OF |
/* In this mode, all references must be allowed for allows role
|
ANY_OF |
In this mode, at least one of the references must be allowed for allows role
|
Modifier and Type | Method | Description |
---|---|---|
static Role.RequiredMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Role.RequiredMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Role.RequiredMode ALL_OF
public static final Role.RequiredMode ANY_OF
public static Role.RequiredMode[] values()
for (Role.RequiredMode c : Role.RequiredMode.values()) System.out.println(c);
public static Role.RequiredMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null