Class SlackService

java.lang.Object
org.gitlab4j.api.services.NotificationService
org.gitlab4j.api.services.SlackService

public class SlackService extends NotificationService
  • Constructor Details

    • SlackService

      public SlackService()
  • Method Details

    • servicePropertiesForm

      public GitLabApiForm servicePropertiesForm()
      Get the form data for this service based on it's properties.
      Specified by:
      servicePropertiesForm in class NotificationService
      Returns:
      the form data for this service based on it's properties
    • withPushEvents

      public SlackService withPushEvents(Boolean pushEvents)
    • withIssuesEvents

      public SlackService withIssuesEvents(Boolean issuesEvents)
    • withConfidentialIssuesEvents

      public SlackService withConfidentialIssuesEvents(Boolean confidentialIssuesEvents)
    • withMergeRequestsEvents

      public SlackService withMergeRequestsEvents(Boolean mergeRequestsEvents)
    • withTagPushEvents

      public SlackService withTagPushEvents(Boolean tagPushEvents)
    • withNoteEvents

      public SlackService withNoteEvents(Boolean noteEvents)
    • withConfidentialNoteEvents

      public SlackService withConfidentialNoteEvents(Boolean confidentialNoteEvents)
    • withPipelineEvents

      public SlackService withPipelineEvents(Boolean pipelineEvents)
    • withWikiPageEvents

      public SlackService withWikiPageEvents(Boolean wikiPageEvents)
    • withJobEvents

      public SlackService withJobEvents(Boolean jobEvents)
    • getWebhook

      public String getWebhook()
    • setWebhook

      public void setWebhook(String webhook)
    • withWebhook

      public SlackService withWebhook(String webhook)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • withUsername

      public SlackService withUsername(String username)
    • getDefaultChannel

      public String getDefaultChannel()
    • setDefaultChannel

      public void setDefaultChannel(String defaultChannel)
    • withDefaultChannelk

      public SlackService withDefaultChannelk(String defaultChannel)
    • getNotifyOnlyBrokenPipelines

      public Boolean getNotifyOnlyBrokenPipelines()
    • setNotifyOnlyBrokenPipelines

      public void setNotifyOnlyBrokenPipelines(Boolean notifyOnlyBrokenPipelines)
    • withNotifyOnlyBrokenPipelines

      public SlackService withNotifyOnlyBrokenPipelines(Boolean notifyOnlyBrokenPipelines)
    • getNotifyOnlyDefaultBranch

      @Deprecated public Boolean getNotifyOnlyDefaultBranch()
      Deprecated.
    • setNotifyOnlyDefaultBranch

      @Deprecated public void setNotifyOnlyDefaultBranch(Boolean notifyOnlyDefaultBranch)
      Parameters:
      notifyOnlyDefaultBranch -
    • withNotifyOnlyDefaultBranch

      @Deprecated public SlackService withNotifyOnlyDefaultBranch(Boolean notifyOnlyDefaultBranch)
      Parameters:
      notifyOnlyDefaultBranch -
    • getBranchesToBeNotified

      public NotificationService.BranchesToBeNotified getBranchesToBeNotified()
    • setBranchesToBeNotified

      public void setBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)
    • withBranchesToBeNotified

      public SlackService withBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)
    • getPushChannel

      public String getPushChannel()
    • setPushChannel

      public void setPushChannel(String pushChannel)
    • withPushChannel

      public SlackService withPushChannel(String pushChannel)
    • getIssueChannel

      public String getIssueChannel()
    • setIssueChannel

      public void setIssueChannel(String issueChannel)
    • withIssueChannel

      public SlackService withIssueChannel(String issueChannel)
    • getConfidentialIssueChannel

      public String getConfidentialIssueChannel()
    • setConfidentialIssueChannel

      public void setConfidentialIssueChannel(String confidentialIssueChannel)
    • withConfidentialIssueChannel

      public SlackService withConfidentialIssueChannel(String confidentialIssueChannel)
    • getMergeRequestChannel

      public String getMergeRequestChannel()
    • setMergeRequestChannel

      public void setMergeRequestChannel(String mergeRequestChannel)
    • withMergeRequestChannel

      public SlackService withMergeRequestChannel(String mergeRequestChannel)
    • getNoteChannel

      public String getNoteChannel()
    • setNoteChannel

      public void setNoteChannel(String noteChannel)
    • withNoteChannel

      public SlackService withNoteChannel(String noteChannel)
    • getConfidentialNoteChannel

      public String getConfidentialNoteChannel()
    • setConfidentialNoteChannel

      public void setConfidentialNoteChannel(String noteChannel)
    • withConfidentialNoteChannel

      public SlackService withConfidentialNoteChannel(String confidentialNoteChannel)
    • getTagPushChannel

      public String getTagPushChannel()
    • setTagPushChannel

      public void setTagPushChannel(String tagPushChannel)
    • withTagPushChannel

      public SlackService withTagPushChannel(String tagPushChannel)
    • getPipelineChannel

      public String getPipelineChannel()
    • setPipelineChannel

      public void setPipelineChannel(String pipelineChannel)
    • withPipelineChannel

      public SlackService withPipelineChannel(String pipelineChannel)
    • getWikiPageChannel

      public String getWikiPageChannel()
    • setWikiPageChannel

      public void setWikiPageChannel(String wikiPageChannel)
    • withWikiPageChannel

      public SlackService withWikiPageChannel(String wikiPageChannel)