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>
public class ScriptTrigger extends AbstractScriptTrigger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScriptTrigger.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
TRIGGER_NAME
-
Fields inherited from class hudson.plugins.emailext.plugins.trigger.AbstractScriptTrigger
secureTriggerScript, triggerScript
-
-
Constructor Summary
Constructors Constructor Description 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.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPreBuild()
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
-
-
-
-
Field Detail
-
TRIGGER_NAME
public static final String TRIGGER_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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)
Deprecated.
-
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 Detail
-
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.
-
-