public abstract class AbstractScriptTrigger extends EmailTrigger
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractScriptTrigger.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
protected String |
triggerScript |
| Constructor and Description |
|---|
AbstractScriptTrigger(boolean sendToList,
boolean sendToDevs,
boolean sendToRequestor,
String recipientList,
String replyTo,
String subject,
String body,
String attachmentsPattern,
int attachBuildLog,
String triggerScript) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
String |
getTriggerScript() |
abstract boolean |
isPreBuild()
Should this trigger run before the build? Defaults to false.
|
boolean |
trigger(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
Implementors of this method need to return true if the conditions to
trigger an email have been met.
|
all, createMailType, getDescriptor, getEmail, getNumFailures, setEmailprotected String triggerScript
public String getTriggerScript()
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
configure in class EmailTriggerpublic abstract boolean isPreBuild()
EmailTriggerisPreBuild in class EmailTriggerpublic boolean trigger(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
EmailTriggertrigger in class EmailTriggerbuild - The Build object after the project has been builtCopyright © 2004-2013. All Rights Reserved.