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 String
BRANCHES_TO_BE_NOTIFIED_PROP
static String
DISABLE_DIFFS_PROP
static String
RECIPIENT_PROP
static String
SEND_FROM_COMMITTER_EMAIL_PROP
Fields inherited from class org.gitlab4j.api.services.NotificationService
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.BranchesToBeNotified
getBranchesToBeNotified()
Boolean
getDisableDiffs()
String
getRecipients()
Boolean
getSendFromCommitterEmail()
GitLabApiForm
servicePropertiesForm()
void
setBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)
void
setDisableDiffs(Boolean disableDiffs)
void
setRecipients(String recipients)
void
setSendFromCommitterEmail(Boolean sendFromCommitterEmail)
EmailOnPushService
withBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)
EmailOnPushService
withDisableDiffs(Boolean disableDiffs)
EmailOnPushService
withPushEvents(Boolean pushEvents)
EmailOnPushService
withRecipients(String recipients)
EmailOnPushService
withSendFromCommitterEmail(Boolean sendFromCommitterEmail)
EmailOnPushService
withTagPushEvents(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
-
BRANCHES_TO_BE_NOTIFIED_PROP
- See Also:
- Constant Field Values
-
-
Constructor Details
-
EmailOnPushService
public EmailOnPushService()
-
-
Method Details
-
servicePropertiesForm
- Specified by:
servicePropertiesForm
in classNotificationService
-
withPushEvents
-
withTagPushEvents
-
getRecipients
-
setRecipients
-
withRecipients
-
getDisableDiffs
-
setDisableDiffs
-
withDisableDiffs
-
getSendFromCommitterEmail
-
setSendFromCommitterEmail
-
withSendFromCommitterEmail
-
getBranchesToBeNotified
-
setBranchesToBeNotified
-
withBranchesToBeNotified
public EmailOnPushService withBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)
-