public enum Role extends Enum<Role>
| Enum Constant and Description |
|---|
MASTER
Allows for changing Master Access Control List (Master ACLs), or Master Registration Control List (Master RCL).
|
OWNER
Allows for changing Owner Access Control Lists (Owner ACLs), or Owner Registration Control List (Owner RCL).
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static Role |
getEnumValue(Integer ordinal)
Get the matching enum for an ordinal number
|
Integer |
getOrdinal()
Get the matching ordinal number for this enum
|
static Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Role MASTER
public static final Role OWNER
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public static Role[] values()
for (Role c : Role.values()) System.out.println(c);
public static Role 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 nullpublic static Role getEnumValue(Integer ordinal)
ordinal - The ordinal numberpublic Integer getOrdinal()
Copyright © 2021. All rights reserved.