hudson.plugins.emailext.plugins
Class EmailTrigger
java.lang.Object
hudson.plugins.emailext.plugins.EmailTrigger
- Direct Known Subclasses:
- FailureTrigger, FixedTrigger, 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 <P extends hudson.model.Project<P,B>,B extends hudson.model.Build<P,B>> boolean trigger(B 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:
setEmail
public void setEmail(EmailType email)
getDescriptor
public abstract EmailTriggerDescriptor getDescriptor()
getDefaultSendToList
public boolean getDefaultSendToList()
getDefaultSendToDevs
public boolean getDefaultSendToDevs()
Copyright © 2008. All Rights Reserved.