java.io.Serializable
, java.lang.Comparable<PermissionDefault>
public enum PermissionDefault extends java.lang.Enum<PermissionDefault>
Modifier and Type | Method | Description |
---|---|---|
static PermissionDefault |
getByName(java.lang.String name) |
Looks up a PermissionDefault by name
|
boolean |
getValue(boolean op) |
Calculates the value of this PermissionDefault for the given operator
value
|
java.lang.String |
toString() |
|
static PermissionDefault |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PermissionDefault[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionDefault TRUE
public static final PermissionDefault FALSE
public static final PermissionDefault OP
public static final PermissionDefault NOT_OP
public static PermissionDefault[] values()
for (PermissionDefault c : PermissionDefault.values()) System.out.println(c);
public static PermissionDefault valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean getValue(boolean op)
op
- If the target is oppublic static PermissionDefault getByName(java.lang.String name)
name
- Name of the defaultpublic java.lang.String toString()
toString
in class java.lang.Enum<PermissionDefault>
Copyright © 2018. All rights reserved.