Package hudson.plugins.emailext.plugins
Class EmailTriggerDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<EmailTrigger>
-
- hudson.plugins.emailext.plugins.EmailTriggerDescriptor
-
- Direct Known Subclasses:
AbortedTrigger.DescriptorImpl
,AlwaysTrigger.DescriptorImpl
,BuildingTrigger.DescriptorImpl
,FailureTrigger.DescriptorImpl
,FirstUnstableTrigger.DescriptorImpl
,FixedTrigger.DescriptorImpl
,FixedUnhealthyTrigger.DescriptorImpl
,ImprovementTrigger.DescriptorImpl
,NotBuiltTrigger.DescriptorImpl
,NthFailureTrigger.DescriptorImpl
,PreBuildScriptTrigger.DescriptorImpl
,PreBuildTrigger.DescriptorImpl
,RegressionTrigger.DescriptorImpl
,ScriptTrigger.DescriptorImpl
,StatusChangedTrigger.DescriptorImpl
,StillFailingTrigger.DescriptorImpl
,StillUnstableTrigger.DescriptorImpl
,SuccessTrigger.DescriptorImpl
,UnstableTrigger.DescriptorImpl
public abstract class EmailTriggerDescriptor extends Descriptor<EmailTrigger>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description protected List<RecipientProvider>
defaultRecipientProviders
protected List<String>
replacesList
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description EmailTriggerDescriptor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected EmailTrigger
_createDefault()
void
addDefaultRecipientProvider(RecipientProvider provider)
void
addTriggerNameToReplace(String triggerName)
You can add the name of a trigger that this trigger should override if both this and the specified trigger meet the criteria to send an email.abstract EmailTrigger
createDefault()
List<RecipientProvider>
getDefaultRecipientProviders()
boolean
getDefaultSendToCulprits()
Deprecated.boolean
getDefaultSendToDevs()
Deprecated.boolean
getDefaultSendToList()
Deprecated.boolean
getDefaultSendToRequester()
Deprecated.List<String>
getTriggerReplaceList()
boolean
isWatchable()
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
defaultRecipientProviders
protected List<RecipientProvider> defaultRecipientProviders
-
-
Method Detail
-
addTriggerNameToReplace
public void addTriggerNameToReplace(String triggerName)
You can add the name of a trigger that this trigger should override if both this and the specified trigger meet the criteria to send an email. If a trigger is specified, then its corresponding email will not be sent. This is a means to simplify the work a plugin developer needs to do to make sure that only a single email is sent.- Parameters:
triggerName
- is the name of a trigger that should be deactivated if it is specified.
-
addDefaultRecipientProvider
public void addDefaultRecipientProvider(RecipientProvider provider)
-
getDefaultRecipientProviders
public List<RecipientProvider> getDefaultRecipientProviders()
-
createDefault
public abstract EmailTrigger createDefault()
-
_createDefault
protected EmailTrigger _createDefault()
-
isWatchable
public boolean isWatchable()
-
getDefaultSendToCulprits
@Deprecated public boolean getDefaultSendToCulprits()
Deprecated.
-
getDefaultSendToDevs
@Deprecated public boolean getDefaultSendToDevs()
Deprecated.
-
getDefaultSendToList
@Deprecated public boolean getDefaultSendToList()
Deprecated.
-
getDefaultSendToRequester
@Deprecated public boolean getDefaultSendToRequester()
Deprecated.
-
-