hudson.plugins.emailext.plugins
Class EmailTrigger
java.lang.Object
hudson.plugins.emailext.plugins.EmailTrigger
- Direct Known Subclasses:
- FailureTrigger, FixedTrigger, PreBuildTrigger, StillFailingTrigger, StillUnstableTrigger, SuccessTrigger, UnstableTrigger
public abstract class EmailTrigger
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailTrigger
public EmailTrigger()
trigger
public 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.
- Parameters:
build - The Build object after the project has been built
- Returns:
- true if the conditions have been met to trigger a build of this type
getEmail
public EmailType getEmail()
- Get the email that is with this trigger.
- Returns:
- the email
setEmail
public void setEmail(EmailType email)
getDescriptor
public abstract EmailTriggerDescriptor getDescriptor()
getDefaultSendToList
public boolean getDefaultSendToList()
getDefaultSendToDevs
public boolean getDefaultSendToDevs()
isPreBuild
public boolean isPreBuild()
- Should this trigger run before the build? Defaults to false.
Copyright © 2010. All Rights Reserved.