hudson.plugins.emailext.plugins.trigger
Class ImprovementTrigger

java.lang.Object
  extended by hudson.plugins.emailext.plugins.EmailTrigger
      extended by hudson.plugins.emailext.plugins.trigger.ImprovementTrigger

public class ImprovementTrigger
extends EmailTrigger


Nested Class Summary
static class ImprovementTrigger.DescriptorImpl
           
 
Field Summary
static ImprovementTrigger.DescriptorImpl DESCRIPTOR
           
static String TRIGGER_NAME
           
 
Constructor Summary
ImprovementTrigger()
           
 
Method Summary
 boolean getDefaultSendToDevs()
           
 boolean getDefaultSendToList()
           
 EmailTriggerDescriptor getDescriptor()
           
 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 hudson.plugins.emailext.plugins.EmailTrigger
getDefaultSendToRequester, getEmail, getNumFailures, isPreBuild, setEmail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRIGGER_NAME

public static final String TRIGGER_NAME
See Also:
Constant Field Values

DESCRIPTOR

public static ImprovementTrigger.DescriptorImpl DESCRIPTOR
Constructor Detail

ImprovementTrigger

public ImprovementTrigger()
Method Detail

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.