Package hudson.plugins.emailext.plugins
Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
FieldsFields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EmailTrigger
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
boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
replacesList
-
defaultRecipientProviders
-
-
Constructor Details
-
EmailTriggerDescriptor
public EmailTriggerDescriptor()
-
-
Method Details
-
addTriggerNameToReplace
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.
-
getTriggerReplaceList
-
addDefaultRecipientProvider
-
getDefaultRecipientProviders
-
createDefault
- Throws:
Descriptor.FormException
-
_createDefault
-
isWatchable
public boolean isWatchable() -
getDefaultSendToCulprits
Deprecated. -
getDefaultSendToDevs
Deprecated. -
getDefaultSendToList
Deprecated. -
getDefaultSendToRequester
Deprecated.
-