Class DebugPermissionCheckNotifier
- java.lang.Object
-
- ca.stellardrift.permissionsex.impl.logging.DebugPermissionCheckNotifier
-
- All Implemented Interfaces:
ca.stellardrift.permissionsex.logging.PermissionCheckNotifier
public class DebugPermissionCheckNotifier extends Object implements ca.stellardrift.permissionsex.logging.PermissionCheckNotifier
Log debug messages
-
-
Constructor Summary
Constructors Constructor Description DebugPermissionCheckNotifier(ca.stellardrift.permissionsex.logging.FormattedLogger logger, ca.stellardrift.permissionsex.logging.PermissionCheckNotifier delegate, @Nullable Predicate<String> filterPredicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.stellardrift.permissionsex.logging.PermissionCheckNotifiergetDelegate()voidonOptionCheck(ca.stellardrift.permissionsex.subject.SubjectRef<?> subject, Set<ca.stellardrift.permissionsex.context.ContextValue<?>> contexts, String option, String value)voidonParentCheck(ca.stellardrift.permissionsex.subject.SubjectRef<?> subject, Set<ca.stellardrift.permissionsex.context.ContextValue<?>> contexts, List<ca.stellardrift.permissionsex.subject.SubjectRef<?>> parents)voidonPermissionCheck(ca.stellardrift.permissionsex.subject.SubjectRef<?> subject, Set<ca.stellardrift.permissionsex.context.ContextValue<?>> contexts, String permission, int value)
-
-
-
Constructor Detail
-
DebugPermissionCheckNotifier
public DebugPermissionCheckNotifier(ca.stellardrift.permissionsex.logging.FormattedLogger logger, ca.stellardrift.permissionsex.logging.PermissionCheckNotifier delegate, @Nullable Predicate<String> filterPredicate)
-
-
Method Detail
-
getDelegate
public ca.stellardrift.permissionsex.logging.PermissionCheckNotifier getDelegate()
-
onPermissionCheck
public void onPermissionCheck(ca.stellardrift.permissionsex.subject.SubjectRef<?> subject, Set<ca.stellardrift.permissionsex.context.ContextValue<?>> contexts, String permission, int value)
- Specified by:
onPermissionCheckin interfaceca.stellardrift.permissionsex.logging.PermissionCheckNotifier
-
onOptionCheck
public void onOptionCheck(ca.stellardrift.permissionsex.subject.SubjectRef<?> subject, Set<ca.stellardrift.permissionsex.context.ContextValue<?>> contexts, String option, String value)
- Specified by:
onOptionCheckin interfaceca.stellardrift.permissionsex.logging.PermissionCheckNotifier
-
onParentCheck
public void onParentCheck(ca.stellardrift.permissionsex.subject.SubjectRef<?> subject, Set<ca.stellardrift.permissionsex.context.ContextValue<?>> contexts, List<ca.stellardrift.permissionsex.subject.SubjectRef<?>> parents)
- Specified by:
onParentCheckin interfaceca.stellardrift.permissionsex.logging.PermissionCheckNotifier
-
-