|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.plugins.emailext.plugins.EmailTrigger
public abstract class EmailTrigger
Constructor Summary | |
---|---|
EmailTrigger()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmailTrigger()
Method Detail |
---|
public abstract boolean trigger(hudson.model.AbstractBuild<?,?> build)
build
- The Build object after the project has been built
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |