public final class DefaultPermissions extends Object
Modifier and Type | Method and Description |
---|---|
static void |
registerCorePermissions() |
static Permission |
registerPermission(Permission perm) |
static Permission |
registerPermission(Permission perm,
boolean withLegacy) |
static Permission |
registerPermission(Permission perm,
Permission parent) |
static Permission |
registerPermission(String name,
String desc) |
static Permission |
registerPermission(String name,
String desc,
Permission parent) |
static Permission |
registerPermission(String name,
String desc,
PermissionDefault def) |
static Permission |
registerPermission(String name,
String desc,
PermissionDefault def,
Map<String,Boolean> children) |
static Permission |
registerPermission(String name,
String desc,
PermissionDefault def,
Map<String,Boolean> children,
Permission parent) |
static Permission |
registerPermission(String name,
String desc,
PermissionDefault def,
Permission parent) |
public static Permission registerPermission(Permission perm)
public static Permission registerPermission(Permission perm, boolean withLegacy)
public static Permission registerPermission(Permission perm, Permission parent)
public static Permission registerPermission(String name, String desc)
public static Permission registerPermission(String name, String desc, Permission parent)
public static Permission registerPermission(String name, String desc, PermissionDefault def)
public static Permission registerPermission(String name, String desc, PermissionDefault def, Permission parent)
public static Permission registerPermission(String name, String desc, PermissionDefault def, Map<String,Boolean> children)
public static Permission registerPermission(String name, String desc, PermissionDefault def, Map<String,Boolean> children, Permission parent)
public static void registerCorePermissions()
Copyright © 2015. All rights reserved.