Package org.gitlab4j.api.services
Class NotificationService
java.lang.Object
org.gitlab4j.api.services.NotificationService
- Direct Known Subclasses:
BugzillaService
,CustomIssueTrackerService
,EmailOnPushService
,ExternalWikiService
,HipChatService
,JiraService
,MattermostService
,SlackService
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
protected String
getProperty
(String prop) protected <T> T
getProperty
(String prop, T defaultValue) getSlug()
getTitle()
abstract GitLabApiForm
void
void
setCommitEvents
(Boolean commitEvents) void
setConfidentialIssuesEvents
(Boolean confidentialIssuesEvents) void
setConfidentialNoteEvents
(Boolean confidentialNoteEvents) void
setCreatedAt
(Date createdAt) void
void
setIssuesEvents
(Boolean issuesEvents) void
setJobEvents
(Boolean jobEvents) void
setMergeRequestsEvents
(Boolean mergeRequestsEvents) void
setNoteEvents
(Boolean noteEvents) void
setPipelineEvents
(Boolean pipelineEvents) void
setProperties
(Map<String, Object> properties) protected void
setProperty
(String prop, Object value) void
setPushEvents
(Boolean pushEvents) void
void
setTagPushEvents
(Boolean tagPushEvents) void
void
setUpdatedAt
(Date updatedAt) void
setWikiPageEvents
(Boolean wikiPageEvents) toString()
protected <T> T
withCommitEvents
(Boolean commitEvents, T derivedInstance) protected <T> T
withConfidentialIssuesEvents
(Boolean confidentialIssuesEvents, T derivedInstance) protected <T> T
withConfidentialNoteEvents
(Boolean confidentialNoteEvents, T derivedInstance) protected <T> T
withIssuesEvents
(Boolean issuesEvents, T derivedInstance) protected <T> T
withJobEvents
(Boolean jobEvents, T derivedInstance) protected <T> T
withMergeRequestsEvents
(Boolean mergeRequestsEvents, T derivedInstance) protected <T> T
withNoteEvents
(Boolean noteEvents, T derivedInstance) protected <T> T
withPipelineEvents
(Boolean pipelineEvents, T derivedInstance) protected <T> T
withPushEvents
(Boolean pushEvents, T derivedInstance) protected <T> T
withTagPushEvents
(Boolean tagPushEvents, T derivedInstance) protected <T> T
withWikiPageEvents
(Boolean wikiPageEvents, T derivedInstance)
-
Field Details
-
NOTIFY_ONLY_BROKEN_PIPELINES_PROP
- See Also:
-
NOTIFY_ONLY_DEFAULT_BRANCH_PROP
- See Also:
-
BRANCHES_TO_BE_NOTIFIED_PROP
- See Also:
-
PUSH_CHANNEL_PROP
- See Also:
-
ISSUE_CHANNEL_PROP
- See Also:
-
CONFIDENTIAL_ISSUE_CHANNEL_PROP
- See Also:
-
MERGE_REQUEST_CHANNEL_PROP
- See Also:
-
NOTE_CHANNEL_PROP
- See Also:
-
CONFIDENTIAL_NOTE_CHANNEL_PROP
- See Also:
-
TAG_PUSH_CHANNEL_PROP
- See Also:
-
PIPELINE_CHANNEL_PROP
- See Also:
-
WIKI_PAGE_CHANNEL_PROP
- See Also:
-
WEBHOOK_PROP
- See Also:
-
USERNAME_PROP
- See Also:
-
DESCRIPTION_PROP
- See Also:
-
TITLE_PROP
- See Also:
-
NEW_ISSUE_URL_PROP
- See Also:
-
ISSUES_URL_PROP
- See Also:
-
PROJECT_URL_PROP
- See Also:
-
PUSH_EVENTS_PROP
- See Also:
-
-
Constructor Details
-
NotificationService
public NotificationService()
-
-
Method Details
-
servicePropertiesForm
-
getId
-
setId
-
getSlug
-
setSlug
-
getTitle
-
setTitle
-
getCreatedAt
-
setCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
getActive
-
setActive
-
getCommitEvents
-
setCommitEvents
-
withCommitEvents
-
getPushEvents
-
setPushEvents
-
withPushEvents
-
getIssuesEvents
-
setIssuesEvents
-
withIssuesEvents
-
getConfidentialIssuesEvents
-
setConfidentialIssuesEvents
-
withConfidentialIssuesEvents
-
getMergeRequestsEvents
-
setMergeRequestsEvents
-
withMergeRequestsEvents
-
getTagPushEvents
-
setTagPushEvents
-
withTagPushEvents
-
getNoteEvents
-
setNoteEvents
-
withNoteEvents
-
getConfidentialNoteEvents
-
setConfidentialNoteEvents
-
withConfidentialNoteEvents
-
getPipelineEvents
-
setPipelineEvents
-
withPipelineEvents
-
getWikiPageEvents
-
setWikiPageEvents
-
withWikiPageEvents
-
getJobEvents
-
setJobEvents
-
withJobEvents
-
getProperties
-
setProperties
-
getProperty
-
getProperty
-
setProperty
-
toString
-