|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
hudson.plugins.emailext.ExtendedEmailPublisher
public class ExtendedEmailPublisher
Publisher that sends notification e-mail.
| Nested Class Summary | |
|---|---|
static class |
ExtendedEmailPublisher.DescriptorImpl
|
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
|---|
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
|---|
hudson.tasks.BuildStep.PublisherList |
| Field Summary | |
|---|---|
static java.lang.String |
CHARSET
|
static java.lang.String |
COMMA_SEPARATED_SPLIT_REGEXP
|
java.lang.String |
contentType
The contentType of the emails for this project (text/html, text/plain, etc). |
static java.lang.String |
DEFAULT_BODY_TEXT
|
static java.lang.String |
DEFAULT_SUBJECT_TEXT
|
java.lang.String |
defaultContent
The default body of the emails for this project. |
java.lang.String |
defaultSubject
The default subject of the emails for this project. |
static ExtendedEmailPublisher.DescriptorImpl |
DESCRIPTOR
|
static java.lang.String |
PROJECT_DEFAULT_BODY_TEXT
|
static java.lang.String |
PROJECT_DEFAULT_SUBJECT_TEXT
|
java.lang.String |
recipientList
A comma-separated list of email recipient that will be used for every trigger. |
| Fields inherited from interface hudson.tasks.BuildStep |
|---|
BUILDERS, PUBLISHERS |
| Constructor Summary | |
|---|---|
ExtendedEmailPublisher()
|
|
| Method Summary | |
|---|---|
static void |
addEmailTriggerType(EmailTriggerDescriptor triggerType)
|
boolean |
getConfigured()
Return true if the project has been configured, otherwise returns false |
java.util.List<EmailTrigger> |
getConfiguredTriggers()
Get the list of configured email triggers for this project. |
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
getDescriptor()
|
static java.util.Collection<java.lang.String> |
getEmailTriggerNames()
|
static java.util.Collection<EmailTriggerDescriptor> |
getEmailTriggers()
|
static EmailTriggerDescriptor |
getEmailTriggerType(java.lang.String mailerId)
|
java.util.List<EmailTrigger> |
getNonConfiguredTriggers()
Get the list of non-configured email triggers for this project. |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
static java.util.List<EmailTrigger> |
getTriggersForNonConfiguredInstance()
|
boolean |
isConfigured()
Return true if the project has been configured, otherwise returns false |
boolean |
needsToRunAfterFinalized()
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
|
static void |
removeEmailTriggerType(EmailTriggerDescriptor triggerType)
|
| Methods inherited from class hudson.tasks.Publisher |
|---|
all, getProjectAction, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
|---|
getProjectAction, getProjectActions, perform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
|---|
getProjectAction, getProjectActions |
| Field Detail |
|---|
public static final java.lang.String COMMA_SEPARATED_SPLIT_REGEXP
public static final java.lang.String DEFAULT_SUBJECT_TEXT
public static final java.lang.String DEFAULT_BODY_TEXT
public static final java.lang.String PROJECT_DEFAULT_SUBJECT_TEXT
public static final java.lang.String PROJECT_DEFAULT_BODY_TEXT
public static final java.lang.String CHARSET
public java.lang.String recipientList
public java.lang.String contentType
public java.lang.String defaultSubject
public java.lang.String defaultContent
@Extension public static final ExtendedEmailPublisher.DescriptorImpl DESCRIPTOR
| Constructor Detail |
|---|
public ExtendedEmailPublisher()
| Method Detail |
|---|
public static void addEmailTriggerType(EmailTriggerDescriptor triggerType)
throws EmailExtException
EmailExtExceptionpublic static void removeEmailTriggerType(EmailTriggerDescriptor triggerType)
public static EmailTriggerDescriptor getEmailTriggerType(java.lang.String mailerId)
public static java.util.Collection<EmailTriggerDescriptor> getEmailTriggers()
public static java.util.Collection<java.lang.String> getEmailTriggerNames()
public static java.util.List<EmailTrigger> getTriggersForNonConfiguredInstance()
public java.util.List<EmailTrigger> getConfiguredTriggers()
public java.util.List<EmailTrigger> getNonConfiguredTriggers()
public boolean isConfigured()
public boolean getConfigured()
public boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
prebuild in interface hudson.tasks.BuildStepprebuild in class hudson.tasks.BuildStepCompatibilityLayer
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerjava.lang.InterruptedException
java.io.IOExceptionpublic boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class hudson.tasks.Publisherpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||