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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetColor()booleanbooleanbooleangetToken()booleanvoidsetAttachments(Object attachments) voidsetBaseUrl(String baseUrl) voidvoidsetBotUser(boolean botUser) voidsetChannel(String channel) voidvoidsetFailOnError(boolean failOnError) voidsetIconEmoji(String iconEmoji) voidsetMessage(String message) voidsetNotifyCommitters(boolean notifyCommitters) voidsetReplyBroadcast(boolean replyBroadcast) voidsetSendAsText(boolean sendAsText) voidsetTeamDomain(String teamDomain) voidsetTimestamp(String timestamp) voidvoidsetTokenCredentialId(String tokenCredentialId) voidsetUsername(String username) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(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:
startin classorg.jenkinsci.plugins.workflow.steps.Step
-