public enum PermissionVote extends Enum<PermissionVote>
Modifier and Type | Method and Description |
---|---|
static PermissionVote |
resultOf(PermissionVote... votes) |
static PermissionVote |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionVote[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionVote GRANT
public static final PermissionVote VETO
public static final PermissionVote ABSTAIN
public static PermissionVote[] values()
for (PermissionVote c : PermissionVote.values()) System.out.println(c);
public static PermissionVote 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 null@Nonnull public static PermissionVote resultOf(@Nonnull PermissionVote... votes)
Copyright © 2024 Atlassian. All rights reserved.