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 ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.plugins.emailext.plugins.trigger.AbstractScriptTrigger
secureTriggerScript, triggerScript -
Constructor Summary
ConstructorsConstructorDescriptionScriptTrigger(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 TypeMethodDescriptionbooleanShould this trigger run before the build? Defaults to false.Methods inherited from class hudson.plugins.emailext.plugins.trigger.AbstractScriptTrigger
configure, getSecureTriggerScript, getTriggerScript, readResolve, triggerMethods inherited from class hudson.plugins.emailext.plugins.EmailTrigger
all, allWatchable, createMailType, createMailType, getAttachBuildLog, getAttachmentsPattern, getBody, getContentType, getDescriptor, getEmail, getNumFailures, getRecipientList, getRecipientProviders, getReplyTo, getSubject, 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:EmailTriggerShould this trigger run before the build? Defaults to false.- Specified by:
isPreBuildin classAbstractScriptTrigger- Returns:
- true if the trigger should be checked before the build.
-