Package org.gitlab4j.api.services
Class SlackService
java.lang.Object
org.gitlab4j.api.services.NotificationService
org.gitlab4j.api.services.SlackService
public class SlackService extends NotificationService
-
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 Constructor Description SlackService()
-
Method Summary
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:
servicePropertiesForm
in 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)