Uses of Enum Class
com.velocitypowered.api.permission.Tristate
Packages that use Tristate
Package
Description
Provides the basic building blocks for a custom permission system.
-
Uses of Tristate in com.velocitypowered.api.permission
Methods in com.velocitypowered.api.permission that return TristateModifier and TypeMethodDescriptionstatic Tristate
Tristate.fromBoolean
(boolean val) Returns aTristate
from a boolean.static Tristate
Tristate.fromNullableBoolean
(@Nullable Boolean val) Returns aTristate
from a nullable boolean.static Tristate
Tristate.fromOptionalBoolean
(Optional<Boolean> val) PermissionFunction.getPermissionValue
(String permission) Gets the subjects setting for a particular permission.PermissionSubject.getPermissionValue
(String permission) Gets the subjects setting for a particular permission.static Tristate
Returns the enum constant of this class with the specified name.static Tristate[]
Tristate.values()
Returns an array containing the constants of this enum class, in the order they are declared.