public abstract class EmailTrigger extends Object
Constructor and Description |
---|
EmailTrigger() |
Modifier and Type | Method and Description |
---|---|
boolean |
getDefaultSendToDevs() |
boolean |
getDefaultSendToList() |
boolean |
getDefaultSendToRequester() |
abstract EmailTriggerDescriptor |
getDescriptor() |
EmailType |
getEmail()
Get the email that is with this trigger.
|
protected int |
getNumFailures(hudson.model.AbstractBuild<?,?> build)
Determine the number of direct failures in the given build.
|
boolean |
isPreBuild()
Should this trigger run before the build? Defaults to false.
|
void |
setEmail(EmailType email) |
abstract boolean |
trigger(hudson.model.AbstractBuild<?,?> build)
Implementors of this method need to return true if the conditions to
trigger an email have been met.
|
public abstract boolean trigger(hudson.model.AbstractBuild<?,?> build)
build
- The Build object after the project has been builtpublic EmailType getEmail()
public void setEmail(EmailType email)
public abstract EmailTriggerDescriptor getDescriptor()
public boolean getDefaultSendToList()
public boolean getDefaultSendToDevs()
public boolean getDefaultSendToRequester()
protected int getNumFailures(hudson.model.AbstractBuild<?,?> build)
public boolean isPreBuild()
Copyright © 2004-2012. All Rights Reserved.