Class 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.
    • Constructor Detail

      • SlackSendStep

        @DataBoundConstructor
        public SlackSendStep()
    • Method Detail

      • getTimestamp

        public String getTimestamp()
      • getColor

        public String getColor()
      • setColor

        @DataBoundSetter
        public void setColor​(String color)
      • getToken

        public String getToken()
      • setToken

        @DataBoundSetter
        public void setToken​(String token)
      • getTokenCredentialId

        public String getTokenCredentialId()
      • setTokenCredentialId

        @DataBoundSetter
        public void setTokenCredentialId​(String tokenCredentialId)
      • getBotUser

        public boolean getBotUser()
      • setBotUser

        @DataBoundSetter
        public void setBotUser​(boolean botUser)
      • getChannel

        public String getChannel()
      • setChannel

        @DataBoundSetter
        public void setChannel​(String channel)
      • getBaseUrl

        public String getBaseUrl()
      • setBaseUrl

        @DataBoundSetter
        public void setBaseUrl​(String baseUrl)
      • getTeamDomain

        public String getTeamDomain()
      • setTeamDomain

        @DataBoundSetter
        public void setTeamDomain​(String teamDomain)
      • isFailOnError

        public boolean isFailOnError()
      • setFailOnError

        @DataBoundSetter
        public void setFailOnError​(boolean failOnError)
      • setAttachments

        @DataBoundSetter
        public void setAttachments​(Object attachments)
      • getAttachments

        public Object getAttachments()
      • getBlocks

        public Object getBlocks()
      • setBlocks

        @DataBoundSetter
        public void setBlocks​(Object blocks)
      • setMessage

        @DataBoundSetter
        public void setMessage​(String message)
      • setTimestamp

        @DataBoundSetter
        public void setTimestamp​(String timestamp)
      • getReplyBroadcast

        public boolean getReplyBroadcast()
      • setReplyBroadcast

        @DataBoundSetter
        public void setReplyBroadcast​(boolean replyBroadcast)
      • getSendAsText

        public boolean getSendAsText()
      • setSendAsText

        @DataBoundSetter
        public void setSendAsText​(boolean sendAsText)
      • getIconEmoji

        public String getIconEmoji()
      • setIconEmoji

        @DataBoundSetter
        public void setIconEmoji​(String iconEmoji)
      • getUsername

        public String getUsername()
      • setUsername

        @DataBoundSetter
        public void setUsername​(String username)
      • 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 class org.jenkinsci.plugins.workflow.steps.Step