Package org.gitlab4j.api.services
Class EmailOnPushService
- java.lang.Object
-
- org.gitlab4j.api.services.NotificationService
-
- org.gitlab4j.api.services.EmailOnPushService
-
- All Implemented Interfaces:
java.io.Serializable
public class EmailOnPushService extends NotificationService
- See Also:
- Serialized Form
-
-
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 java.lang.String
DISABLE_DIFFS_PROP
static java.lang.String
RECIPIENT_PROP
static java.lang.String
SEND_FROM_COMMITTER_EMAIL_PROP
-
Fields 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
-
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 Detail
-
RECIPIENT_PROP
public static final java.lang.String RECIPIENT_PROP
- See Also:
- Constant Field Values
-
DISABLE_DIFFS_PROP
public static final java.lang.String DISABLE_DIFFS_PROP
- See Also:
- Constant Field Values
-
SEND_FROM_COMMITTER_EMAIL_PROP
public static final java.lang.String SEND_FROM_COMMITTER_EMAIL_PROP
- See Also:
- Constant Field Values
-
-
Method Detail
-
servicePropertiesForm
public GitLabApiForm servicePropertiesForm()
- Specified by:
servicePropertiesForm
in classNotificationService
-
withPushEvents
public EmailOnPushService withPushEvents(java.lang.Boolean pushEvents)
-
withTagPushEvents
public EmailOnPushService withTagPushEvents(java.lang.Boolean pushEvents)
-
getRecipients
public java.lang.String getRecipients()
-
setRecipients
public void setRecipients(java.lang.String recipients)
-
withRecipients
public EmailOnPushService withRecipients(java.lang.String recipients)
-
getDisableDiffs
public java.lang.Boolean getDisableDiffs()
-
setDisableDiffs
public void setDisableDiffs(java.lang.Boolean disableDiffs)
-
withDisableDiffs
public EmailOnPushService withDisableDiffs(java.lang.Boolean disableDiffs)
-
getSendFromCommitterEmail
public java.lang.Boolean getSendFromCommitterEmail()
-
setSendFromCommitterEmail
public void setSendFromCommitterEmail(java.lang.Boolean sendFromCommitterEmail)
-
withSendFromCommitterEmail
public EmailOnPushService withSendFromCommitterEmail(java.lang.Boolean sendFromCommitterEmail)
-
getBranchesToBeNotified
public NotificationService.BranchesToBeNotified getBranchesToBeNotified()
-
setBranchesToBeNotified
public void setBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)
-
withBranchesToBeNotified
public EmailOnPushService withBranchesToBeNotified(NotificationService.BranchesToBeNotified branchesToBeNotified)
-
-