Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
98394f90
Commit
98394f90
authored
6 years ago
by
Greg Messner
Browse files
Options
Download
Email Patches
Plain Diff
Added ApplicationSettingsApi (#340).
parent
160b12e7
main
5.0.x
5.0.x.jdk17
6.x
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/gitlab4j/api/GitLabApi.java
+20
-0
src/main/java/org/gitlab4j/api/GitLabApi.java
with
20 additions
and
0 deletions
+20
-0
src/main/java/org/gitlab4j/api/GitLabApi.java
+
20
-
0
View file @
98394f90
...
@@ -52,6 +52,7 @@ public class GitLabApi {
...
@@ -52,6 +52,7 @@ public class GitLabApi {
private
Session
session
;
private
Session
session
;
private
ApplicationsApi
applicationsApi
;
private
ApplicationsApi
applicationsApi
;
private
ApplicationSettingsApi
applicationSettingsApi
;
private
AwardEmojiApi
awardEmojiApi
;
private
AwardEmojiApi
awardEmojiApi
;
private
BoardsApi
boardsApi
;
private
BoardsApi
boardsApi
;
private
CommitsApi
commitsApi
;
private
CommitsApi
commitsApi
;
...
@@ -912,6 +913,25 @@ public class GitLabApi {
...
@@ -912,6 +913,25 @@ public class GitLabApi {
return
(
applicationsApi
);
return
(
applicationsApi
);
}
}
/**
* Gets the ApplicationSettingsApi instance owned by this GitLabApi instance. The ApplicationSettingsApi is used
* to perform all application settingsrelated API calls.
*
* @return the ApplicationsApi instance owned by this GitLabApi instance
*/
public
ApplicationSettingsApi
getApplicationSettingsApi
()
{
if
(
applicationSettingsApi
==
null
)
{
synchronized
(
this
)
{
if
(
applicationSettingsApi
==
null
)
{
applicationSettingsApi
=
new
ApplicationSettingsApi
(
this
);
}
}
}
return
(
applicationSettingsApi
);
}
/**
/**
* Gets the AwardEmojiApi instance owned by this GitLabApi instance. The AwardEmojiApi is used
* Gets the AwardEmojiApi instance owned by this GitLabApi instance. The AwardEmojiApi is used
* to perform all award emoji related API calls.
* to perform all award emoji related API calls.
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets