Package org.gitlab4j.api.services
Class SlackService
java.lang.Object
org.gitlab4j.api.services.NotificationService
org.gitlab4j.api.services.SlackService
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gitlab4j.api.services.NotificationService
NotificationService.BranchesToBeNotified -
Field Summary
Fields inherited from class org.gitlab4j.api.services.NotificationService
BRANCHES_TO_BE_NOTIFIED_PROP, CONFIDENTIAL_ISSUE_CHANNEL_PROP, CONFIDENTIAL_NOTE_CHANNEL_PROP, DESCRIPTION_PROP, ISSUE_CHANNEL_PROP, ISSUES_URL_PROP, MERGE_REQUEST_CHANNEL_PROP, NEW_ISSUE_URL_PROP, NOTE_CHANNEL_PROP, NOTIFY_ONLY_BROKEN_PIPELINES_PROP, NOTIFY_ONLY_DEFAULT_BRANCH_PROP, PIPELINE_CHANNEL_PROP, PROJECT_URL_PROP, PUSH_CHANNEL_PROP, PUSH_EVENTS_PROP, TAG_PUSH_CHANNEL_PROP, TITLE_PROP, USERNAME_PROP, WEBHOOK_PROP, WIKI_PAGE_CHANNEL_PROP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the form data for this service based on it's properties.voidsetBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified) voidsetConfidentialIssueChannel(String confidentialIssueChannel) voidsetConfidentialNoteChannel(String noteChannel) voidsetDefaultChannel(String defaultChannel) voidsetIssueChannel(String issueChannel) voidsetMergeRequestChannel(String mergeRequestChannel) voidsetNoteChannel(String noteChannel) voidsetNotifyOnlyBrokenPipelines(Boolean notifyOnlyBrokenPipelines) voidsetNotifyOnlyDefaultBranch(Boolean notifyOnlyDefaultBranch) Deprecated.voidsetPipelineChannel(String pipelineChannel) voidsetPushChannel(String pushChannel) voidsetTagPushChannel(String tagPushChannel) voidsetUsername(String username) voidsetWebhook(String webhook) voidsetWikiPageChannel(String wikiPageChannel) withBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified) withConfidentialIssueChannel(String confidentialIssueChannel) withConfidentialIssuesEvents(Boolean confidentialIssuesEvents) withConfidentialNoteChannel(String confidentialNoteChannel) withConfidentialNoteEvents(Boolean confidentialNoteEvents) withDefaultChannelk(String defaultChannel) withIssueChannel(String issueChannel) withIssuesEvents(Boolean issuesEvents) withJobEvents(Boolean jobEvents) withMergeRequestChannel(String mergeRequestChannel) withMergeRequestsEvents(Boolean mergeRequestsEvents) withNoteChannel(String noteChannel) withNoteEvents(Boolean noteEvents) withNotifyOnlyBrokenPipelines(Boolean notifyOnlyBrokenPipelines) withNotifyOnlyDefaultBranch(Boolean notifyOnlyDefaultBranch) Deprecated.withPipelineChannel(String pipelineChannel) withPipelineEvents(Boolean pipelineEvents) withPushChannel(String pushChannel) withPushEvents(Boolean pushEvents) withTagPushChannel(String tagPushChannel) withTagPushEvents(Boolean tagPushEvents) withUsername(String username) withWebhook(String webhook) withWikiPageChannel(String wikiPageChannel) withWikiPageEvents(Boolean wikiPageEvents) Methods inherited from class org.gitlab4j.api.services.NotificationService
getActive, getCommitEvents, getConfidentialIssuesEvents, getConfidentialNoteEvents, getCreatedAt, getId, getIssuesEvents, getJobEvents, getMergeRequestsEvents, getNoteEvents, getPipelineEvents, getProperties, getProperty, getProperty, getPushEvents, getSlug, getTagPushEvents, getTitle, getUpdatedAt, getWikiPageEvents, setActive, setCommitEvents, setConfidentialIssuesEvents, setConfidentialNoteEvents, setCreatedAt, setId, setIssuesEvents, setJobEvents, setMergeRequestsEvents, setNoteEvents, setPipelineEvents, setProperties, setProperty, setPushEvents, setSlug, setTagPushEvents, setTitle, setUpdatedAt, setWikiPageEvents, toString, withCommitEvents, withConfidentialIssuesEvents, withConfidentialNoteEvents, withIssuesEvents, withJobEvents, withMergeRequestsEvents, withNoteEvents, withPipelineEvents, withPushEvents, withTagPushEvents, withWikiPageEvents
-
Constructor Details
-
SlackService
public SlackService()
-
-
Method Details
-
servicePropertiesForm
Get the form data for this service based on it's properties.- Specified by:
servicePropertiesFormin classNotificationService- Returns:
- the form data for this service based on it's properties
-
withPushEvents
-
withIssuesEvents
-
withConfidentialIssuesEvents
-
withMergeRequestsEvents
-
withTagPushEvents
-
withNoteEvents
-
withConfidentialNoteEvents
-
withPipelineEvents
-
withWikiPageEvents
-
withJobEvents
-
getWebhook
-
setWebhook
-
withWebhook
-
getUsername
-
setUsername
-
withUsername
-
getDefaultChannel
-
setDefaultChannel
-
withDefaultChannelk
-
getNotifyOnlyBrokenPipelines
-
setNotifyOnlyBrokenPipelines
-
withNotifyOnlyBrokenPipelines
-
getNotifyOnlyDefaultBranch
Deprecated. -
setNotifyOnlyDefaultBranch
Deprecated.- Parameters:
notifyOnlyDefaultBranch-
-
withNotifyOnlyDefaultBranch
Deprecated.- Parameters:
notifyOnlyDefaultBranch-
-
getBranchesToBeNotified
-
setBranchesToBeNotified
-
withBranchesToBeNotified
public SlackService withBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified) -
getPushChannel
-
setPushChannel
-
withPushChannel
-
getIssueChannel
-
setIssueChannel
-
withIssueChannel
-
getConfidentialIssueChannel
-
setConfidentialIssueChannel
-
withConfidentialIssueChannel
-
getMergeRequestChannel
-
setMergeRequestChannel
-
withMergeRequestChannel
-
getNoteChannel
-
setNoteChannel
-
withNoteChannel
-
getConfidentialNoteChannel
-
setConfidentialNoteChannel
-
withConfidentialNoteChannel
-
getTagPushChannel
-
setTagPushChannel
-
withTagPushChannel
-
getPipelineChannel
-
setPipelineChannel
-
withPipelineChannel
-
getWikiPageChannel
-
setWikiPageChannel
-
withWikiPageChannel
-
setBranchesToBeNotified(BranchesToBeNotified)