Package org.gitlab4j.api.services
Class HipChatService
- java.lang.Object
-
- org.gitlab4j.api.services.NotificationService
-
- org.gitlab4j.api.services.HipChatService
-
- All Implemented Interfaces:
java.io.Serializable
public class HipChatService 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
API_VERSION_PROP
static java.lang.String
COLOR_PROP
static java.lang.String
NOTIFY_ONLY_BROKEN_PIPELINES_PROP
static java.lang.String
NOTIFY_PROP
static java.lang.String
ROOM_PROP
static java.lang.String
SERVER_PROP
static java.lang.String
TOKEN_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.String
getApiVersion()
java.lang.String
getColor()
java.lang.Boolean
getNotify()
java.lang.Boolean
getNotifyOnlyBrokenPipelines()
java.lang.String
getRoom()
java.lang.String
getServer()
java.lang.String
getToken()
GitLabApiForm
servicePropertiesForm()
Get the form data for this service based on it's properties.void
setApiVersion(java.lang.String apiVersion)
void
setColor(java.lang.String color)
void
setNotify(java.lang.Boolean notify)
void
setNotifyOnlyBrokenPipelines(java.lang.Boolean notifyOnlyBrokenPipelines)
void
setRoom(java.lang.String room)
void
setServer(java.lang.String server)
void
setToken(java.lang.String token)
HipChatService
withApiVersion(java.lang.String apiVersion)
HipChatService
withColor(java.lang.String color)
HipChatService
withConfidentialIssuesEvents(java.lang.Boolean confidentialIssuesEvents)
HipChatService
withConfidentialNoteEvents(java.lang.Boolean confidentialNoteEvents)
HipChatService
withIssuesEvents(java.lang.Boolean issuesEvents)
HipChatService
withJobEvents(java.lang.Boolean jobEvents)
HipChatService
withMergeRequestsEvents(java.lang.Boolean mergeRequestsEvents)
HipChatService
withNoteEvents(java.lang.Boolean noteEvents)
HipChatService
withNotify(java.lang.Boolean notify)
HipChatService
withNotifyOnlyBrokenPipelines(java.lang.Boolean notifyOnlyBrokenPipelines)
HipChatService
withPipelineEvents(java.lang.Boolean pipelineEvents)
HipChatService
withPushEvents(java.lang.Boolean pushEvents)
HipChatService
withRoom(java.lang.String room)
HipChatService
withServer(java.lang.String server)
HipChatService
withTagPushEvents(java.lang.Boolean tagPushEvents)
HipChatService
withToken(java.lang.String token)
HipChatService
withWikiPageEvents(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:
servicePropertiesForm
in 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)
-
-