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 classNotificationService.BranchesToBeNotified -
Field Summary
Fields Modifier and Type Field Description static StringBRANCHES_TO_BE_NOTIFIED_PROPstatic StringCONFIDENTIAL_ISSUE_CHANNEL_PROPstatic StringCONFIDENTIAL_NOTE_CHANNEL_PROPstatic StringDESCRIPTION_PROPstatic StringISSUE_CHANNEL_PROPstatic StringISSUES_URL_PROPstatic StringMERGE_REQUEST_CHANNEL_PROPstatic StringNEW_ISSUE_URL_PROPstatic StringNOTE_CHANNEL_PROPstatic StringNOTIFY_ONLY_BROKEN_PIPELINES_PROPstatic StringNOTIFY_ONLY_DEFAULT_BRANCH_PROPstatic StringPIPELINE_CHANNEL_PROPstatic StringPROJECT_URL_PROPstatic StringPUSH_CHANNEL_PROPstatic StringPUSH_EVENTS_PROPstatic StringTAG_PUSH_CHANNEL_PROPstatic StringTITLE_PROPstatic StringUSERNAME_PROPstatic StringWEBHOOK_PROPstatic StringWIKI_PAGE_CHANNEL_PROP -
Constructor Summary
Constructors Constructor Description NotificationService() -
Method Summary
Modifier and Type Method Description BooleangetActive()BooleangetCommitEvents()BooleangetConfidentialIssuesEvents()BooleangetConfidentialNoteEvents()DategetCreatedAt()LonggetId()BooleangetIssuesEvents()BooleangetJobEvents()BooleangetMergeRequestsEvents()BooleangetNoteEvents()BooleangetPipelineEvents()Map<String,Object>getProperties()protected StringgetProperty(String prop)protected <T> TgetProperty(String prop, T defaultValue)BooleangetPushEvents()StringgetSlug()BooleangetTagPushEvents()StringgetTitle()DategetUpdatedAt()BooleangetWikiPageEvents()abstract GitLabApiFormservicePropertiesForm()voidsetActive(Boolean active)voidsetCommitEvents(Boolean commitEvents)voidsetConfidentialIssuesEvents(Boolean confidentialIssuesEvents)voidsetConfidentialNoteEvents(Boolean confidentialNoteEvents)voidsetCreatedAt(Date createdAt)voidsetId(Long id)voidsetIssuesEvents(Boolean issuesEvents)voidsetJobEvents(Boolean jobEvents)voidsetMergeRequestsEvents(Boolean mergeRequestsEvents)voidsetNoteEvents(Boolean noteEvents)voidsetPipelineEvents(Boolean pipelineEvents)voidsetProperties(Map<String,Object> properties)protected voidsetProperty(String prop, Object value)voidsetPushEvents(Boolean pushEvents)voidsetSlug(String slug)voidsetTagPushEvents(Boolean tagPushEvents)voidsetTitle(String title)voidsetUpdatedAt(Date updatedAt)voidsetWikiPageEvents(Boolean wikiPageEvents)StringtoString()protected <T> TwithCommitEvents(Boolean commitEvents, T derivedInstance)protected <T> TwithConfidentialIssuesEvents(Boolean confidentialIssuesEvents, T derivedInstance)protected <T> TwithConfidentialNoteEvents(Boolean confidentialNoteEvents, T derivedInstance)protected <T> TwithIssuesEvents(Boolean issuesEvents, T derivedInstance)protected <T> TwithJobEvents(Boolean jobEvents, T derivedInstance)protected <T> TwithMergeRequestsEvents(Boolean mergeRequestsEvents, T derivedInstance)protected <T> TwithNoteEvents(Boolean noteEvents, T derivedInstance)protected <T> TwithPipelineEvents(Boolean pipelineEvents, T derivedInstance)protected <T> TwithPushEvents(Boolean pushEvents, T derivedInstance)protected <T> TwithTagPushEvents(Boolean tagPushEvents, T derivedInstance)protected <T> TwithWikiPageEvents(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
-
BRANCHES_TO_BE_NOTIFIED_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
-