Class Permissions.NoJexlClass
java.lang.Object
org.apache.commons.jexl3.internal.introspection.Permissions.NoJexlClass
- All Implemented Interfaces:
Permissions.Copyable<Permissions.NoJexlClass>
- Direct Known Subclasses:
Permissions.AllowedNoJexlClass,Permissions.JexlClass
- Enclosing class:
- Permissions
static class Permissions.NoJexlClass
extends Object
implements Permissions.Copyable<Permissions.NoJexlClass>
Equivalent of @NoJexl on a ctor, a method, or a field in a class.
Field or method that are named are denied access.
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()(package private) booleandeny(Constructor<?> method) (package private) boolean(package private) boolean(package private) booleanisEmpty()(package private) booleanWhether this is a positive (allow-oriented) class declaration.
-
Field Details
-
methodNames
-
fieldNames
-
-
Constructor Details
-
NoJexlClass
NoJexlClass() -
NoJexlClass
-
-
Method Details
-
copy
- Specified by:
copyin interfacePermissions.Copyable<Permissions.NoJexlClass>
-
deny
-
deny
-
deny
-
isEmpty
boolean isEmpty() -
isPositive
boolean isPositive()Whether this is a positive (allow-oriented) class declaration.A positive class is explicitly allowed in its package (it contributes to
Permissions.NoJexlPackage.hasAllowedClass()and an empty one means "allow the whole class"). A plain deny-listNoJexlClassis not positive.- Returns:
- true if the class is positively allowed, false if it is a deny-list
-