Package jenkins.plugins.slack.workflow
Class SlackSendStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
jenkins.plugins.slack.workflow.SlackSendStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class SlackSendStep
extends org.jenkinsci.plugins.workflow.steps.Step
Workflow step to send a Slack channel notification.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getColor()
boolean
boolean
boolean
getToken()
boolean
void
setAttachments
(Object attachments) void
setBaseUrl
(String baseUrl) void
void
setBotUser
(boolean botUser) void
setChannel
(String channel) void
void
setFailOnError
(boolean failOnError) void
setIconEmoji
(String iconEmoji) void
setMessage
(String message) void
setNotifyCommitters
(boolean notifyCommitters) void
setReplyBroadcast
(boolean replyBroadcast) void
setSendAsText
(boolean sendAsText) void
setTeamDomain
(String teamDomain) void
setTimestamp
(String timestamp) void
void
setTokenCredentialId
(String tokenCredentialId) void
setUsername
(String username) org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
SlackSendStep
@DataBoundConstructor public SlackSendStep()
-
-
Method Details
-
getMessage
-
getTimestamp
-
getColor
-
setColor
-
getToken
-
setToken
-
getTokenCredentialId
-
setTokenCredentialId
-
getBotUser
public boolean getBotUser() -
setBotUser
@DataBoundSetter public void setBotUser(boolean botUser) -
getChannel
-
setChannel
-
getBaseUrl
-
setBaseUrl
-
getTeamDomain
-
setTeamDomain
-
isFailOnError
public boolean isFailOnError() -
setFailOnError
@DataBoundSetter public void setFailOnError(boolean failOnError) -
setAttachments
-
getAttachments
-
getBlocks
-
setBlocks
-
setMessage
-
setTimestamp
-
getReplyBroadcast
public boolean getReplyBroadcast() -
setReplyBroadcast
@DataBoundSetter public void setReplyBroadcast(boolean replyBroadcast) -
getSendAsText
public boolean getSendAsText() -
setSendAsText
@DataBoundSetter public void setSendAsText(boolean sendAsText) -
getIconEmoji
-
setIconEmoji
-
getUsername
-
setUsername
-
getNotifyCommitters
public boolean getNotifyCommitters() -
setNotifyCommitters
@DataBoundSetter public void setNotifyCommitters(boolean notifyCommitters) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
-