public class SuccessTrigger extends EmailTrigger
Modifier and Type | Class and Description |
---|---|
static class |
SuccessTrigger.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static SuccessTrigger.DescriptorImpl |
DESCRIPTOR |
static String |
TRIGGER_NAME |
Constructor and Description |
---|
SuccessTrigger(boolean sendToList,
boolean sendToDevs,
boolean sendToRequestor,
boolean sendToCulprits,
String recipientList,
String replyTo,
String subject,
String body,
String attachmentsPattern,
int attachBuildLog,
String contentType) |
Modifier and Type | Method and Description |
---|---|
EmailTriggerDescriptor |
getDescriptor() |
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, configure, createMailType, getEmail, getNumFailures, isPreBuild, setEmail
public static final String TRIGGER_NAME
@Extension public static final SuccessTrigger.DescriptorImpl DESCRIPTOR
public boolean trigger(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener)
EmailTrigger
trigger
in class EmailTrigger
build
- The Build object after the project has been builtpublic EmailTriggerDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<EmailTrigger>
getDescriptor
in class EmailTrigger
Copyright © 2004-2013. All Rights Reserved.