hudson.plugins.emailext.plugins.trigger
Class PreBuildTrigger
java.lang.Object
hudson.plugins.emailext.plugins.EmailTrigger
hudson.plugins.emailext.plugins.trigger.PreBuildTrigger
public class PreBuildTrigger
- extends EmailTrigger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRIGGER_NAME
public static final String TRIGGER_NAME
- See Also:
- Constant Field Values
DESCRIPTOR
public static PreBuildTrigger.DescriptorImpl DESCRIPTOR
PreBuildTrigger
public PreBuildTrigger()
isPreBuild
public boolean isPreBuild()
- Description copied from class:
EmailTrigger
- Should this trigger run before the build? Defaults to false.
- Overrides:
isPreBuild
in class EmailTrigger
trigger
public boolean trigger(hudson.model.AbstractBuild<?,?> build)
- Description copied from class:
EmailTrigger
- Implementors of this method need to return true if the conditions to
trigger an email have been met.
- Specified by:
trigger
in class EmailTrigger
- 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
getDescriptor
public EmailTriggerDescriptor getDescriptor()
- Specified by:
getDescriptor
in class EmailTrigger
getDefaultSendToDevs
public boolean getDefaultSendToDevs()
- Overrides:
getDefaultSendToDevs
in class EmailTrigger
getDefaultSendToList
public boolean getDefaultSendToList()
- Overrides:
getDefaultSendToList
in class EmailTrigger
Copyright © 2004-2012. All Rights Reserved.