Class ScriptTrigger
java.lang.Object
hudson.plugins.emailext.plugins.EmailTrigger
hudson.plugins.emailext.plugins.trigger.AbstractScriptTrigger
hudson.plugins.emailext.plugins.trigger.ScriptTrigger
- All Implemented Interfaces:
ExtensionPoint
,Describable<EmailTrigger>
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.plugins.emailext.plugins.trigger.AbstractScriptTrigger
secureTriggerScript, triggerScript
-
Constructor Summary
ConstructorDescriptionScriptTrigger
(boolean sendToList, boolean sendToDevs, boolean sendToRequester, boolean sendToCulprits, String recipientList, String replyTo, String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType, String triggerScript) Deprecated.ScriptTrigger
(List<RecipientProvider> recipientProviders, String recipientList, String replyTo, String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType, String triggerScript) Deprecated.ScriptTrigger
(List<RecipientProvider> recipientProviders, String recipientList, String replyTo, String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType, org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript secureTriggerScript) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Should this trigger run before the build? Defaults to false.Methods inherited from class hudson.plugins.emailext.plugins.trigger.AbstractScriptTrigger
configure, getSecureTriggerScript, getTriggerScript, readResolve, trigger
Methods inherited from class hudson.plugins.emailext.plugins.EmailTrigger
all, allWatchable, createMailType, createMailType, getDescriptor, getEmail, getNumFailures, setEmail, shouldBypassThrottling
-
Field Details
-
TRIGGER_NAME
- See Also:
-
-
Constructor Details
-
ScriptTrigger
@DataBoundConstructor public ScriptTrigger(List<RecipientProvider> recipientProviders, String recipientList, String replyTo, String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType, org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript secureTriggerScript) -
ScriptTrigger
@Deprecated public ScriptTrigger(List<RecipientProvider> recipientProviders, String recipientList, String replyTo, String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType, String triggerScript) throws Descriptor.FormException Deprecated.- Throws:
Descriptor.FormException
-
ScriptTrigger
@Deprecated public ScriptTrigger(boolean sendToList, boolean sendToDevs, boolean sendToRequester, boolean sendToCulprits, String recipientList, String replyTo, String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType, String triggerScript) Deprecated.
-
-
Method Details
-
isPreBuild
public boolean isPreBuild()Description copied from class:EmailTrigger
Should this trigger run before the build? Defaults to false.- Specified by:
isPreBuild
in classAbstractScriptTrigger
- Returns:
- true if the trigger should be checked before the build.
-