Uses of Class
com.github.alex1304.ultimategdbot.api.command.PermissionLevel
-
Packages that use PermissionLevel Package Description com.github.alex1304.ultimategdbot.api.command com.github.alex1304.ultimategdbot.api.command.annotated -
-
Uses of PermissionLevel in com.github.alex1304.ultimategdbot.api.command
Methods in com.github.alex1304.ultimategdbot.api.command that return PermissionLevel Modifier and Type Method Description default PermissionLevel
Command. getMinimumPermissionLevel()
Gets the permission level required to use the command.static PermissionLevel
PermissionLevel. valueOf(String name)
Returns the enum constant of this type with the specified name.static PermissionLevel[]
PermissionLevel. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.github.alex1304.ultimategdbot.api.command with parameters of type PermissionLevel Modifier and Type Method Description reactor.core.publisher.Mono<Boolean>
PermissionChecker. isGranted(PermissionLevel level, Context ctx)
Checks whether the given permission level is granted in the specified context.void
PermissionChecker. register(PermissionLevel level, Function<Context,reactor.core.publisher.Mono<Boolean>> checker)
Registers a new permission into this checker. -
Uses of PermissionLevel in com.github.alex1304.ultimategdbot.api.command.annotated
Methods in com.github.alex1304.ultimategdbot.api.command.annotated that return PermissionLevel Modifier and Type Method Description PermissionLevel
AnnotatedCommand. getMinimumPermissionLevel()
PermissionLevel
level()
-