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
public abstract class NotificationService extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotificationService.BranchesToBeNotified
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIDENTIAL_ISSUE_CHANNEL_PROP
static String
CONFIDENTIAL_NOTE_CHANNEL_PROP
static String
DESCRIPTION_PROP
static String
ISSUE_CHANNEL_PROP
static String
ISSUES_URL_PROP
static String
MERGE_REQUEST_CHANNEL_PROP
static String
NEW_ISSUE_URL_PROP
static String
NOTE_CHANNEL_PROP
static String
NOTIFY_ONLY_BROKEN_PIPELINES_PROP
static String
NOTIFY_ONLY_DEFAULT_BRANCH_PROP
static String
PIPELINE_CHANNEL_PROP
static String
PROJECT_URL_PROP
static String
PUSH_CHANNEL_PROP
static String
PUSH_EVENTS_PROP
static String
TAG_PUSH_CHANNEL_PROP
static String
TITLE_PROP
static String
USERNAME_PROP
static String
WEBHOOK_PROP
static String
WIKI_PAGE_CHANNEL_PROP
-
Constructor Summary
Constructors Constructor Description NotificationService()
-
Method Summary
Modifier and Type Method Description Boolean
getActive()
Boolean
getCommitEvents()
Boolean
getConfidentialIssuesEvents()
Boolean
getConfidentialNoteEvents()
Date
getCreatedAt()
Integer
getId()
Boolean
getIssuesEvents()
Boolean
getJobEvents()
Boolean
getMergeRequestsEvents()
Boolean
getNoteEvents()
Boolean
getPipelineEvents()
Map<String,Object>
getProperties()
protected String
getProperty(String prop)
protected <T> T
getProperty(String prop, T defaultValue)
Boolean
getPushEvents()
String
getSlug()
Boolean
getTagPushEvents()
String
getTitle()
Date
getUpdatedAt()
Boolean
getWikiPageEvents()
abstract GitLabApiForm
servicePropertiesForm()
void
setActive(Boolean active)
void
setCommitEvents(Boolean commitEvents)
void
setConfidentialIssuesEvents(Boolean confidentialIssuesEvents)
void
setConfidentialNoteEvents(Boolean confidentialNoteEvents)
void
setCreatedAt(Date createdAt)
void
setId(Integer id)
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
setSlug(String slug)
void
setTagPushEvents(Boolean tagPushEvents)
void
setTitle(String title)
void
setUpdatedAt(Date updatedAt)
void
setWikiPageEvents(Boolean wikiPageEvents)
String
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:
- Constant Field Values
-
NOTIFY_ONLY_DEFAULT_BRANCH_PROP
- See Also:
- Constant Field Values
-
PUSH_CHANNEL_PROP
- See Also:
- Constant Field Values
-
ISSUE_CHANNEL_PROP
- See Also:
- Constant Field Values
-
CONFIDENTIAL_ISSUE_CHANNEL_PROP
- See Also:
- Constant Field Values
-
MERGE_REQUEST_CHANNEL_PROP
- See Also:
- Constant Field Values
-
NOTE_CHANNEL_PROP
- See Also:
- Constant Field Values
-
CONFIDENTIAL_NOTE_CHANNEL_PROP
- See Also:
- Constant Field Values
-
TAG_PUSH_CHANNEL_PROP
- See Also:
- Constant Field Values
-
PIPELINE_CHANNEL_PROP
- See Also:
- Constant Field Values
-
WIKI_PAGE_CHANNEL_PROP
- See Also:
- Constant Field Values
-
WEBHOOK_PROP
- See Also:
- Constant Field Values
-
USERNAME_PROP
- See Also:
- Constant Field Values
-
DESCRIPTION_PROP
- See Also:
- Constant Field Values
-
TITLE_PROP
- See Also:
- Constant Field Values
-
NEW_ISSUE_URL_PROP
- See Also:
- Constant Field Values
-
ISSUES_URL_PROP
- See Also:
- Constant Field Values
-
PROJECT_URL_PROP
- See Also:
- Constant Field Values
-
PUSH_EVENTS_PROP
- See Also:
- Constant Field Values
-
-
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
-