Commit f0a80b4b authored by caguilar187's avatar caguilar187

deprecating the createProject, updateProject and createUserProject calls

parent 50bd5cc2
...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment