public enum ShellPermission extends Enum<ShellPermission> implements PermissionType
| Enum Constant and Description |
|---|
CHANGE_PASSWORD |
EXECUTE |
SET_PASSWORD |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
toString() |
static ShellPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShellPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShellPermission EXECUTE
public static final ShellPermission CHANGE_PASSWORD
public static final ShellPermission SET_PASSWORD
public static ShellPermission[] values()
for (ShellPermission c : ShellPermission.values()) System.out.println(c);
public static ShellPermission 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 String toString()
toString in class Enum<ShellPermission>public String getName()
getName in interface PermissionTypeCopyright © 2025. All rights reserved.