public static enum Permission.Vote extends Enum<Permission.Vote>
Enum Constant and Description |
---|
ABSTAIN
Remain undecided and give other
Permissions a chance of casting a vote. |
DENY
Deny the action.
|
GRANT
Allow the action to be taken.
|
Modifier and Type | Method and Description |
---|---|
static Permission.Vote |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission.Vote[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission.Vote GRANT
public static final Permission.Vote DENY
public static final Permission.Vote ABSTAIN
Permissions
a chance of casting a vote.public static Permission.Vote[] values()
for (Permission.Vote c : Permission.Vote.values()) System.out.println(c);
public static Permission.Vote 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 © 2024 levigo holding gmbh. All rights reserved.