Class ObjectInstanceWhitelist<T>

java.lang.Object
org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
hudson.plugins.emailext.groovy.sandbox.ObjectInstanceWhitelist<T>
All Implemented Interfaces:
ExtensionPoint
Direct Known Subclasses:
MimeMessageInstanceWhitelist, PrintStreamInstanceWhitelist, PropertiesInstanceWhitelist, StaticProxyInstanceWhitelist, TaskListenerInstanceWhitelist

public abstract class ObjectInstanceWhitelist<T> extends org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
A Whitelist that permits methods on specific object instances.
  • Constructor Details

    • ObjectInstanceWhitelist

      protected ObjectInstanceWhitelist(T instance)
  • Method Details

    • permitsInstance

      protected boolean permitsInstance(@CheckForNull Object instance)
    • isClass

      protected boolean isClass(Class<?> declaringClass)