Class TaskListenerInstanceWhitelist

java.lang.Object
org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
hudson.plugins.emailext.groovy.sandbox.ObjectInstanceWhitelist<TaskListener>
hudson.plugins.emailext.groovy.sandbox.TaskListenerInstanceWhitelist
All Implemented Interfaces:
ExtensionPoint

public class TaskListenerInstanceWhitelist extends ObjectInstanceWhitelist<TaskListener>
Whitelist for specific instances of TaskListener.
  • Constructor Details

    • TaskListenerInstanceWhitelist

      public TaskListenerInstanceWhitelist(TaskListener instance)
  • Method Details

    • permitsMethod

      public boolean permitsMethod(@NonNull Method method, @NonNull Object receiver, @NonNull Object[] args)
      Overrides:
      permitsMethod in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
    • permitsFieldGet

      public boolean permitsFieldGet(@NonNull Field field, @NonNull Object receiver)
      Overrides:
      permitsFieldGet in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
    • permitsFieldSet

      public boolean permitsFieldSet(@NonNull Field field, @NonNull Object receiver, @CheckForNull Object value)
      Overrides:
      permitsFieldSet in class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist