public class ScriptTrigger extends AbstractScriptTrigger
Modifier and Type | Class and Description |
---|---|
static class |
ScriptTrigger.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static ScriptTrigger.DescriptorImpl |
DESCRIPTOR |
static String |
TRIGGER_NAME |
triggerScript
Constructor and Description |
---|
ScriptTrigger(boolean sendToList,
boolean sendToDevs,
boolean sendToRequestor,
boolean sendToCulprits,
String recipientList,
String replyTo,
String subject,
String body,
String attachmentsPattern,
int attachBuildLog,
String contentType,
String triggerScript) |
Modifier and Type | Method and Description |
---|---|
EmailTriggerDescriptor |
getDescriptor() |
boolean |
isPreBuild()
Should this trigger run before the build? Defaults to false.
|
configure, getTriggerScript, trigger
all, createMailType, getEmail, getNumFailures, setEmail
public static final String TRIGGER_NAME
@Extension public static final ScriptTrigger.DescriptorImpl DESCRIPTOR
@DataBoundConstructor public ScriptTrigger(boolean sendToList, boolean sendToDevs, boolean sendToRequestor, boolean sendToCulprits, String recipientList, String replyTo, String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType, String triggerScript)
public boolean isPreBuild()
EmailTrigger
isPreBuild
in class AbstractScriptTrigger
public EmailTriggerDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<EmailTrigger>
getDescriptor
in class EmailTrigger
Copyright © 2004-2013. All Rights Reserved.