Package org.gitlab4j.api.services
Class HipChatService
- java.lang.Object
-
- org.gitlab4j.api.services.NotificationService
-
- org.gitlab4j.api.services.HipChatService
-
public class HipChatService 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 java.lang.StringAPI_VERSION_PROPstatic java.lang.StringCOLOR_PROPstatic java.lang.StringNOTIFY_ONLY_BROKEN_PIPELINES_PROPstatic java.lang.StringNOTIFY_PROPstatic java.lang.StringROOM_PROPstatic java.lang.StringSERVER_PROPstatic java.lang.StringTOKEN_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_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 HipChatService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetApiVersion()java.lang.StringgetColor()java.lang.BooleangetNotify()java.lang.BooleangetNotifyOnlyBrokenPipelines()java.lang.StringgetRoom()java.lang.StringgetServer()java.lang.StringgetToken()GitLabApiFormservicePropertiesForm()Get the form data for this service based on it's properties.voidsetApiVersion(java.lang.String apiVersion)voidsetColor(java.lang.String color)voidsetNotify(java.lang.Boolean notify)voidsetNotifyOnlyBrokenPipelines(java.lang.Boolean notifyOnlyBrokenPipelines)voidsetRoom(java.lang.String room)voidsetServer(java.lang.String server)voidsetToken(java.lang.String token)HipChatServicewithApiVersion(java.lang.String apiVersion)HipChatServicewithColor(java.lang.String color)HipChatServicewithConfidentialIssuesEvents(java.lang.Boolean confidentialIssuesEvents)HipChatServicewithConfidentialNoteEvents(java.lang.Boolean confidentialNoteEvents)HipChatServicewithIssuesEvents(java.lang.Boolean issuesEvents)HipChatServicewithJobEvents(java.lang.Boolean jobEvents)HipChatServicewithMergeRequestsEvents(java.lang.Boolean mergeRequestsEvents)HipChatServicewithNoteEvents(java.lang.Boolean noteEvents)HipChatServicewithNotify(java.lang.Boolean notify)HipChatServicewithNotifyOnlyBrokenPipelines(java.lang.Boolean notifyOnlyBrokenPipelines)HipChatServicewithPipelineEvents(java.lang.Boolean pipelineEvents)HipChatServicewithPushEvents(java.lang.Boolean pushEvents)HipChatServicewithRoom(java.lang.String room)HipChatServicewithServer(java.lang.String server)HipChatServicewithTagPushEvents(java.lang.Boolean tagPushEvents)HipChatServicewithToken(java.lang.String token)HipChatServicewithWikiPageEvents(java.lang.Boolean wikiPageEvents)-
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
-
TOKEN_PROP
public static final java.lang.String TOKEN_PROP
- See Also:
- Constant Field Values
-
COLOR_PROP
public static final java.lang.String COLOR_PROP
- See Also:
- Constant Field Values
-
NOTIFY_PROP
public static final java.lang.String NOTIFY_PROP
- See Also:
- Constant Field Values
-
ROOM_PROP
public static final java.lang.String ROOM_PROP
- See Also:
- Constant Field Values
-
API_VERSION_PROP
public static final java.lang.String API_VERSION_PROP
- See Also:
- Constant Field Values
-
SERVER_PROP
public static final java.lang.String SERVER_PROP
- See Also:
- Constant Field Values
-
NOTIFY_ONLY_BROKEN_PIPELINES_PROP
public static final java.lang.String NOTIFY_ONLY_BROKEN_PIPELINES_PROP
- See Also:
- Constant Field Values
-
-
Method Detail
-
servicePropertiesForm
public GitLabApiForm servicePropertiesForm()
Get the form data for this service based on it's properties.- Specified by:
servicePropertiesFormin classNotificationService- Returns:
- the form data for this service based on it's properties
-
withPushEvents
public HipChatService withPushEvents(java.lang.Boolean pushEvents)
-
withIssuesEvents
public HipChatService withIssuesEvents(java.lang.Boolean issuesEvents)
-
withConfidentialIssuesEvents
public HipChatService withConfidentialIssuesEvents(java.lang.Boolean confidentialIssuesEvents)
-
withMergeRequestsEvents
public HipChatService withMergeRequestsEvents(java.lang.Boolean mergeRequestsEvents)
-
withTagPushEvents
public HipChatService withTagPushEvents(java.lang.Boolean tagPushEvents)
-
withNoteEvents
public HipChatService withNoteEvents(java.lang.Boolean noteEvents)
-
withConfidentialNoteEvents
public HipChatService withConfidentialNoteEvents(java.lang.Boolean confidentialNoteEvents)
-
withPipelineEvents
public HipChatService withPipelineEvents(java.lang.Boolean pipelineEvents)
-
withWikiPageEvents
public HipChatService withWikiPageEvents(java.lang.Boolean wikiPageEvents)
-
withJobEvents
public HipChatService withJobEvents(java.lang.Boolean jobEvents)
-
getToken
public java.lang.String getToken()
-
setToken
public void setToken(java.lang.String token)
-
withToken
public HipChatService withToken(java.lang.String token)
-
getColor
public java.lang.String getColor()
-
setColor
public void setColor(java.lang.String color)
-
withColor
public HipChatService withColor(java.lang.String color)
-
getNotify
public java.lang.Boolean getNotify()
-
setNotify
public void setNotify(java.lang.Boolean notify)
-
withNotify
public HipChatService withNotify(java.lang.Boolean notify)
-
getRoom
public java.lang.String getRoom()
-
setRoom
public void setRoom(java.lang.String room)
-
withRoom
public HipChatService withRoom(java.lang.String room)
-
getApiVersion
public java.lang.String getApiVersion()
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
-
withApiVersion
public HipChatService withApiVersion(java.lang.String apiVersion)
-
getServer
public java.lang.String getServer()
-
setServer
public void setServer(java.lang.String server)
-
withServer
public HipChatService withServer(java.lang.String server)
-
getNotifyOnlyBrokenPipelines
public java.lang.Boolean getNotifyOnlyBrokenPipelines()
-
setNotifyOnlyBrokenPipelines
public void setNotifyOnlyBrokenPipelines(java.lang.Boolean notifyOnlyBrokenPipelines)
-
withNotifyOnlyBrokenPipelines
public HipChatService withNotifyOnlyBrokenPipelines(java.lang.Boolean notifyOnlyBrokenPipelines)
-
-