public enum Permissions extends Enum<Permissions>
Enum Constant and Description |
---|
ADMIN |
ANONYM |
AUTH |
LOCAL |
NONE |
REMOTE |
TRUSTED |
Modifier and Type | Method and Description |
---|---|
static Permissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permissions NONE
public static final Permissions ANONYM
public static final Permissions REMOTE
public static final Permissions LOCAL
public static final Permissions AUTH
public static final Permissions TRUSTED
public static final Permissions ADMIN
public static Permissions[] values()
for (Permissions c : Permissions.values()) System.out.println(c);
public static Permissions 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 © 2019 "Tigase, Inc.". All rights reserved.