public class ChatterNotifier
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatterNotifier.DescriptorImpl
Descriptor for
ChatterNotifier. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
ChatterNotifier(String credentialsId,
String recordId,
String server,
boolean failureOnly,
boolean postRecovery,
boolean tagSuspects,
boolean publishEnForceResults,
String defaultDomain,
String suspectMap) |
| Modifier and Type | Method and Description |
|---|---|
static com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials |
getCredentialsById(String id)
Helper method to return credentials by id
|
String |
getCredentialsId()
We'll use this from the config.jelly.
|
String |
getDefaultDomain() |
String |
getEnForceResults(hudson.model.AbstractBuild<?,?> build) |
boolean |
getFailureOnly() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
String |
getRecordId() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getServer() |
String |
getSuspectMap() |
boolean |
isPostRecovery() |
boolean |
isPublishEnForceResults() |
boolean |
isTagSuspects() |
boolean |
needsToRunAfterFinalized() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
This method should have the logic of the plugin.
|
public String getCredentialsId()
public String getRecordId()
public String getServer()
public boolean getFailureOnly()
public String getDefaultDomain()
public String getSuspectMap()
public boolean isPostRecovery()
public boolean isTagSuspects()
public boolean isPublishEnForceResults()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class hudson.tasks.Publisherpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic String getEnForceResults(hudson.model.AbstractBuild<?,?> build) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic static com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials getCredentialsById(String id)
id - The credentials idCopyright © 2016–2019. All rights reserved.