Class MimeMessageInstanceWhitelist

java.lang.Object
org.jenkinsci.plugins.scriptsecurity.sandbox.Whitelist
org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.AbstractWhitelist
hudson.plugins.emailext.groovy.sandbox.ObjectInstanceWhitelist<jakarta.mail.internet.MimeMessage>
hudson.plugins.emailext.groovy.sandbox.MimeMessageInstanceWhitelist
All Implemented Interfaces:
ExtensionPoint

public class MimeMessageInstanceWhitelist extends ObjectInstanceWhitelist<jakarta.mail.internet.MimeMessage>
Whitelist of explicit MimeMessage instances.
  • Constructor Details

    • MimeMessageInstanceWhitelist

      public MimeMessageInstanceWhitelist(@NonNull jakarta.mail.internet.MimeMessage 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