|
||||||||||
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 | |
---|---|
String |
attachmentsPattern
The project wide set of attachments. |
List<EmailTrigger> |
configuredTriggers
This is the list of email triggers that the project has configured |
String |
contentType
The contentType of the emails for this project (text/html, text/plain, etc). |
static String |
DEFAULT_BODY_TEXT
|
static String |
DEFAULT_EMERGENCY_REROUTE_TEXT
|
static String |
DEFAULT_RECIPIENTS_TEXT
|
static String |
DEFAULT_SUBJECT_TEXT
|
String |
defaultContent
The default body of the emails for this project. |
String |
defaultSubject
The default subject of the emails for this project. |
static ExtendedEmailPublisherDescriptor |
DESCRIPTOR
|
static Map<String,EmailTriggerDescriptor> |
EMAIL_TRIGGER_TYPE_MAP
|
static String |
PROJECT_DEFAULT_BODY_TEXT
|
static String |
PROJECT_DEFAULT_SUBJECT_TEXT
|
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)
|
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild matrixbuild,
hudson.Launcher launcher,
hudson.model.BuildListener buildlistener)
|
boolean |
getConfigured()
Return true if the project has been configured, otherwise returns false |
List<EmailTrigger> |
getConfiguredTriggers()
Get the list of configured email triggers for this project. |
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
getDescriptor()
|
static Collection<String> |
getEmailTriggerNames()
|
static Collection<EmailTriggerDescriptor> |
getEmailTriggers()
|
static EmailTriggerDescriptor |
getEmailTriggerType(String mailerId)
|
MatrixTriggerMode |
getMatrixTriggerMode()
|
List<EmailTrigger> |
getNonConfiguredTriggers()
Get the list of non-configured email triggers for this project. |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
static List<EmailTrigger> |
getTriggersForNonConfiguredInstance()
|
boolean |
isConfigured()
Return true if the project has been configured, otherwise returns false |
boolean |
isExecuteOnMatrixNodes()
|
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)
|
void |
setMatrixTriggerMode(MatrixTriggerMode matrixTriggerMode)
|
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 Map<String,EmailTriggerDescriptor> EMAIL_TRIGGER_TYPE_MAP
public static final String DEFAULT_RECIPIENTS_TEXT
public static final String DEFAULT_SUBJECT_TEXT
public static final String DEFAULT_BODY_TEXT
public static final String DEFAULT_EMERGENCY_REROUTE_TEXT
public static final String PROJECT_DEFAULT_SUBJECT_TEXT
public static final String PROJECT_DEFAULT_BODY_TEXT
public String recipientList
public List<EmailTrigger> configuredTriggers
public String contentType
public String defaultSubject
public String defaultContent
public String attachmentsPattern
@Extension public static final ExtendedEmailPublisherDescriptor DESCRIPTOR
Constructor Detail |
---|
public ExtendedEmailPublisher()
Method Detail |
---|
public static void addEmailTriggerType(EmailTriggerDescriptor triggerType) throws EmailExtException
EmailExtException
public static void removeEmailTriggerType(EmailTriggerDescriptor triggerType)
public static EmailTriggerDescriptor getEmailTriggerType(String mailerId)
public static Collection<EmailTriggerDescriptor> getEmailTriggers()
public static Collection<String> getEmailTriggerNames()
public static List<EmailTrigger> getTriggersForNonConfiguredInstance()
public List<EmailTrigger> getConfiguredTriggers()
public List<EmailTrigger> getNonConfiguredTriggers()
public boolean isConfigured()
public boolean getConfigured()
public MatrixTriggerMode getMatrixTriggerMode()
public void setMatrixTriggerMode(MatrixTriggerMode matrixTriggerMode)
public boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
prebuild
in interface hudson.tasks.BuildStep
prebuild
in class hudson.tasks.BuildStepCompatibilityLayer
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public boolean isExecuteOnMatrixNodes()
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized
in class hudson.tasks.Publisher
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Notifier
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild matrixbuild, hudson.Launcher launcher, hudson.model.BuildListener buildlistener)
createAggregator
in interface hudson.matrix.MatrixAggregatable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |