Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
7e7c3914
Commit
7e7c3914
authored
Jul 05, 2018
by
Greg Messner
Browse files
Added support for TagsApi.
parent
949e4eb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/GitLabApi.java
View file @
7e7c3914
...
...
@@ -50,14 +50,18 @@ public class GitLabApi {
private
CommitsApi
commitsApi
;
private
DeployKeysApi
deployKeysApi
;
private
EventsApi
eventsApi
;
private
GroupApi
groupApi
;
private
HealthCheckApi
healthCheckApi
;
private
IssuesApi
issuesApi
;
private
JobApi
jobApi
;
private
LabelsApi
labelsApi
;
private
LicensesApi
licensesApi
;
private
MarkdownApi
markdownApi
;
private
MergeRequestApi
mergeRequestApi
;
private
MilestonesApi
milestonesApi
;
private
NamespaceApi
namespaceApi
;
private
NotesApi
notesApi
;
private
NotificationSettingsApi
notificationSettingsApi
;
private
PipelineApi
pipelineApi
;
private
ProjectApi
projectApi
;
...
...
@@ -67,13 +71,10 @@ public class GitLabApi {
private
RunnersApi
runnersApi
;
private
ServicesApi
servicesApi
;
private
SessionApi
sessionApi
;
private
SnippetsApi
snippetsApi
;
private
SystemHooksApi
systemHooksApi
;
private
TagsApi
tagsApi
;
private
UserApi
userApi
;
private
JobApi
jobApi
;
private
LabelsApi
labelsApi
;
private
NotesApi
notesApi
;
private
EventsApi
eventsApi
;
private
SnippetsApi
snippetsApi
;
private
WikisApi
wikisApi
;
/**
...
...
@@ -1256,6 +1257,25 @@ public class GitLabApi {
return
(
systemHooksApi
);
}
/**
* Gets the TagsApi instance owned by this GitLabApi instance. The TagsApi is used
* to perform all tag and release related API calls.
*
* @return the TagsApi instance owned by this GitLabApi instance
*/
public
TagsApi
getTagsApi
()
{
if
(
tagsApi
==
null
)
{
synchronized
(
this
)
{
if
(
tagsApi
==
null
)
{
tagsApi
=
new
TagsApi
(
this
);
}
}
}
return
(
tagsApi
);
}
/**
* Gets the UserApi instance owned by this GitLabApi instance. The UserApi is used
* to perform all user related API calls.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment