Class PermissionCheckEvent
java.lang.Object
me.lucko.luckperms.common.verbose.event.VerboseEvent
me.lucko.luckperms.common.verbose.event.PermissionCheckEvent
- All Implemented Interfaces:
BooleanExpressionCompiler.VariableEvaluator
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionCheckEvent(CheckOrigin origin, VerboseCheckTarget checkTarget, net.luckperms.api.query.QueryOptions checkQueryOptions, long checkTime, Throwable checkTrace, String checkThread, String permission, TristateResult result) -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates the value of a variable.getType()protected voidserializeTo(JObject object) Methods inherited from class VerboseEvent
getCheckQueryOptions, getCheckTarget, getCheckThread, getCheckTime, getCheckTrace, getOrigin, toJson
-
Constructor Details
-
PermissionCheckEvent
public PermissionCheckEvent(CheckOrigin origin, VerboseCheckTarget checkTarget, net.luckperms.api.query.QueryOptions checkQueryOptions, long checkTime, Throwable checkTrace, String checkThread, String permission, TristateResult result)
-
-
Method Details
-
getPermission
-
getResult
- Specified by:
getResultin classVerboseEvent
-
getType
- Specified by:
getTypein classVerboseEvent
-
serializeTo
- Specified by:
serializeToin classVerboseEvent
-
eval
Description copied from interface:BooleanExpressionCompiler.VariableEvaluatorEvaluates the value of a variable.- Parameters:
variable- the variable- Returns:
- the result
-