Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
java-gitlab-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
沈俊林
java-gitlab-api
Commits
f0a80b4b
Commit
f0a80b4b
authored
Sep 05, 2016
by
caguilar187
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deprecating the createProject, updateProject and createUserProject calls
parent
50bd5cc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
GitlabAPI.java
src/main/java/org/gitlab/api/GitlabAPI.java
+3
-0
No files found.
src/main/java/org/gitlab/api/GitlabAPI.java
View file @
f0a80b4b
...
@@ -688,6 +688,7 @@ public class GitlabAPI {
...
@@ -688,6 +688,7 @@ public class GitlabAPI {
* @return the Gitlab Project
* @return the Gitlab Project
* @throws IOException on gitlab api call error
* @throws IOException on gitlab api call error
*/
*/
@Deprecated
public
GitlabProject
createProject
(
String
name
,
Integer
namespaceId
,
String
description
,
Boolean
issuesEnabled
,
Boolean
wallEnabled
,
Boolean
mergeRequestsEnabled
,
Boolean
wikiEnabled
,
Boolean
snippetsEnabled
,
Boolean
publik
,
Integer
visibilityLevel
,
String
importUrl
)
throws
IOException
{
public
GitlabProject
createProject
(
String
name
,
Integer
namespaceId
,
String
description
,
Boolean
issuesEnabled
,
Boolean
wallEnabled
,
Boolean
mergeRequestsEnabled
,
Boolean
wikiEnabled
,
Boolean
snippetsEnabled
,
Boolean
publik
,
Integer
visibilityLevel
,
String
importUrl
)
throws
IOException
{
Query
query
=
new
Query
()
Query
query
=
new
Query
()
.
append
(
"name"
,
name
)
.
append
(
"name"
,
name
)
...
@@ -737,6 +738,7 @@ public class GitlabAPI {
...
@@ -737,6 +738,7 @@ public class GitlabAPI {
* @return The GitLab Project
* @return The GitLab Project
* @throws IOException on gitlab api call error
* @throws IOException on gitlab api call error
*/
*/
@Deprecated
public
GitlabProject
createUserProject
(
Integer
userId
,
String
name
,
String
description
,
String
defaultBranch
,
Boolean
issuesEnabled
,
Boolean
wallEnabled
,
Boolean
mergeRequestsEnabled
,
Boolean
wikiEnabled
,
Boolean
snippetsEnabled
,
Boolean
publik
,
Integer
visibilityLevel
,
String
importUrl
)
throws
IOException
{
public
GitlabProject
createUserProject
(
Integer
userId
,
String
name
,
String
description
,
String
defaultBranch
,
Boolean
issuesEnabled
,
Boolean
wallEnabled
,
Boolean
mergeRequestsEnabled
,
Boolean
wikiEnabled
,
Boolean
snippetsEnabled
,
Boolean
publik
,
Integer
visibilityLevel
,
String
importUrl
)
throws
IOException
{
Query
query
=
new
Query
()
Query
query
=
new
Query
()
.
append
(
"name"
,
name
)
.
append
(
"name"
,
name
)
...
@@ -773,6 +775,7 @@ public class GitlabAPI {
...
@@ -773,6 +775,7 @@ public class GitlabAPI {
* @return the Gitlab Project
* @return the Gitlab Project
* @throws IOException on gitlab api call error
* @throws IOException on gitlab api call error
*/
*/
@Deprecated
public
GitlabProject
updateProject
(
public
GitlabProject
updateProject
(
Integer
projectId
,
Integer
projectId
,
String
name
,
String
name
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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