Class TypedFilter

java.lang.Object
jenkins.security.stapler.TypedFilter
All Implemented Interfaces:
org.kohsuke.stapler.FunctionList.Filter, org.kohsuke.stapler.lang.FieldRef.Filter

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class TypedFilter extends Object implements org.kohsuke.stapler.lang.FieldRef.Filter, org.kohsuke.stapler.FunctionList.Filter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
    static boolean
     

    Fields inherited from interface org.kohsuke.stapler.lang.FieldRef.Filter

    ALWAYS_OK

    Fields inherited from interface org.kohsuke.stapler.FunctionList.Filter

    ALWAYS_OK
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
     
    boolean
    keep(org.kohsuke.stapler.Function function)
     
    boolean
    keep(org.kohsuke.stapler.lang.FieldRef fieldRef)
     

    Methods inherited from class java.lang.Object

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

    • SKIP_TYPE_CHECK

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static boolean SKIP_TYPE_CHECK
    • PROHIBIT_STATIC_ACCESS

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static boolean PROHIBIT_STATIC_ACCESS
  • Constructor Details

    • TypedFilter

      public TypedFilter()
  • Method Details

    • isStaplerRelevant

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static boolean isStaplerRelevant(@NonNull Class<?> clazz)
    • keep

      public boolean keep(@NonNull org.kohsuke.stapler.lang.FieldRef fieldRef)
      Specified by:
      keep in interface org.kohsuke.stapler.lang.FieldRef.Filter
    • keep

      public boolean keep(@NonNull org.kohsuke.stapler.Function function)
      Specified by:
      keep in interface org.kohsuke.stapler.FunctionList.Filter