Class Permissions.NoJexlClass

  • Direct Known Subclasses:
    Permissions.JexlClass
    Enclosing class:
    Permissions

    static class Permissions.NoJexlClass
    extends java.lang.Object
    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

      Fields 
      Modifier and Type Field Description
      protected java.util.Set<java.lang.String> fieldNames  
      protected java.util.Set<java.lang.String> methodNames  
    • Constructor Summary

      Constructors 
      Constructor Description
      NoJexlClass()  
      NoJexlClass​(java.util.Set<java.lang.String> methods, java.util.Set<java.lang.String> fields)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean deny​(java.lang.reflect.Constructor<?> method)  
      (package private) boolean deny​(java.lang.reflect.Field field)  
      (package private) boolean deny​(java.lang.reflect.Method method)  
      (package private) boolean isEmpty()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • methodNames

        protected final java.util.Set<java.lang.String> methodNames
      • fieldNames

        protected final java.util.Set<java.lang.String> fieldNames
    • Constructor Detail

      • NoJexlClass

        NoJexlClass()
      • NoJexlClass

        NoJexlClass​(java.util.Set<java.lang.String> methods,
                    java.util.Set<java.lang.String> fields)
    • Method Detail

      • deny

        boolean deny​(java.lang.reflect.Constructor<?> method)
      • deny

        boolean deny​(java.lang.reflect.Field field)
      • deny

        boolean deny​(java.lang.reflect.Method method)
      • isEmpty

        boolean isEmpty()