Class Permissions.JexlPackage
java.lang.Object
org.apache.commons.jexl3.internal.introspection.Permissions.NoJexlPackage
org.apache.commons.jexl3.internal.introspection.Permissions.JexlPackage
- All Implemented Interfaces:
Permissions.Copyable<Permissions.NoJexlPackage>
- Enclosing class:
- Permissions
A package where classes are allowed by default.
-
Field Summary
Fields inherited from class org.apache.commons.jexl3.internal.introspection.Permissions.NoJexlPackage
nojexl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()(package private) Permissions.NoJexlClass(package private) booleanWhether this is a positive (allow-oriented) package declaration.Methods inherited from class org.apache.commons.jexl3.internal.introspection.Permissions.NoJexlPackage
addNoJexl, hasAllowedClass, isDenyAll, isEmpty
-
Constructor Details
-
JexlPackage
JexlPackage(Map<String, Permissions.NoJexlClass> map)
-
-
Method Details
-
getNoJexl
- Overrides:
getNoJexlin classPermissions.NoJexlPackage
-
isPositive
boolean isPositive()Description copied from class:Permissions.NoJexlPackageWhether this is a positive (allow-oriented) package declaration.A positive package allows its own classes by default; a deny-list package does not.
- Overrides:
isPositivein classPermissions.NoJexlPackage- Returns:
- true if the package is positively allowed, false otherwise
-
copy
- Specified by:
copyin interfacePermissions.Copyable<Permissions.NoJexlPackage>- Overrides:
copyin classPermissions.NoJexlPackage
-