public class PreBuildTrigger extends EmailTrigger
Modifier and Type | Class and Description |
---|---|
static class |
PreBuildTrigger.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static PreBuildTrigger.DescriptorImpl |
DESCRIPTOR |
static String |
TRIGGER_NAME |
Constructor and Description |
---|
PreBuildTrigger() |
Modifier and Type | Method and Description |
---|---|
boolean |
getDefaultSendToDevs() |
boolean |
getDefaultSendToList() |
EmailTriggerDescriptor |
getDescriptor() |
boolean |
isPreBuild()
Should this trigger run before the build? Defaults to false.
|
boolean |
trigger(hudson.model.AbstractBuild<?,?> build)
Implementors of this method need to return true if the conditions to
trigger an email have been met.
|
getDefaultSendToRequester, getEmail, getNumFailures, setEmail
public static final String TRIGGER_NAME
public static PreBuildTrigger.DescriptorImpl DESCRIPTOR
public boolean isPreBuild()
EmailTrigger
isPreBuild
in class EmailTrigger
public boolean trigger(hudson.model.AbstractBuild<?,?> build)
EmailTrigger
trigger
in class EmailTrigger
build
- The Build object after the project has been builtpublic EmailTriggerDescriptor getDescriptor()
getDescriptor
in class EmailTrigger
public boolean getDefaultSendToDevs()
getDefaultSendToDevs
in class EmailTrigger
public boolean getDefaultSendToList()
getDefaultSendToList
in class EmailTrigger
Copyright © 2004-2012. All Rights Reserved.