Package org.gitlab4j.api.services
Class EmailOnPushService
java.lang.Object
org.gitlab4j.api.services.NotificationService
org.gitlab4j.api.services.EmailOnPushService
public class EmailOnPushService extends NotificationService
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gitlab4j.api.services.NotificationService
NotificationService.BranchesToBeNotified -
Field Summary
Fields Modifier and Type Field Description static StringDISABLE_DIFFS_PROPstatic StringRECIPIENT_PROPstatic StringSEND_FROM_COMMITTER_EMAIL_PROPFields 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 EmailOnPushService() -
Method Summary
Modifier and Type Method Description NotificationService.BranchesToBeNotifiedgetBranchesToBeNotified()BooleangetDisableDiffs()StringgetRecipients()BooleangetSendFromCommitterEmail()GitLabApiFormservicePropertiesForm()voidsetBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)voidsetDisableDiffs(Boolean disableDiffs)voidsetRecipients(String recipients)voidsetSendFromCommitterEmail(Boolean sendFromCommitterEmail)EmailOnPushServicewithBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)EmailOnPushServicewithDisableDiffs(Boolean disableDiffs)EmailOnPushServicewithPushEvents(Boolean pushEvents)EmailOnPushServicewithRecipients(String recipients)EmailOnPushServicewithSendFromCommitterEmail(Boolean sendFromCommitterEmail)EmailOnPushServicewithTagPushEvents(Boolean pushEvents)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
-
Field Details
-
RECIPIENT_PROP
- See Also:
- Constant Field Values
-
DISABLE_DIFFS_PROP
- See Also:
- Constant Field Values
-
SEND_FROM_COMMITTER_EMAIL_PROP
- See Also:
- Constant Field Values
-
-
Constructor Details
-
EmailOnPushService
public EmailOnPushService()
-
-
Method Details
-
servicePropertiesForm
- Specified by:
servicePropertiesFormin classNotificationService
-
withPushEvents
-
withTagPushEvents
-
getRecipients
-
setRecipients
-
withRecipients
-
getDisableDiffs
-
setDisableDiffs
-
withDisableDiffs
-
getSendFromCommitterEmail
-
setSendFromCommitterEmail
-
withSendFromCommitterEmail
-
getBranchesToBeNotified
-
setBranchesToBeNotified
-
withBranchesToBeNotified
public EmailOnPushService withBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)
-