-
成员变量 修饰符和类 成员变量描述 static String
DEFAULT_FALSE
static String
DEFAULT_NOT_OP
static String
DEFAULT_OP
static String
DEFAULT_PERMISSION
static String
DEFAULT_TRUE
-
构造函数 构造函数描述 Permission(String name)
Permission(String name, String description)
Permission(String name, String description, String defualtValue)
Permission(String name, String description, String defualtValue, Map<String,Boolean> children)
-
All Methods Static Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 void
addParent(Permission permission, boolean value)
Permission
addParent(String name, boolean value)
static String
getByName(String value)
Map<String,Boolean>
getChildren()
String
getDefault()
String
getDescription()
String
getName()
Set<Permissible>
getPermissibles()
static Permission
loadPermission(String name, Map<String,Object> data)
static Permission
loadPermission(String name, Map<String,Object> data, String defaultValue)
static Permission
loadPermission(String name, Map<String,Object> data, String defaultValue, List<Permission> output)
static List<Permission>
loadPermissions(Map<String,Object> data)
static List<Permission>
loadPermissions(Map<String,Object> data, String defaultValue)
void
recalculatePermissibles()
void
setDefault(String value)
void
setDescription(String description)