diff --git a/src/main/java/org/gitlab4j/api/PipelineApi.java b/src/main/java/org/gitlab4j/api/PipelineApi.java index 9b759d0455f8a5be1cda46d36060eb7f9b48f2d2..3bd67f524ea831a641d37cc7ef1821e4dc53f9f6 100644 --- a/src/main/java/org/gitlab4j/api/PipelineApi.java +++ b/src/main/java/org/gitlab4j/api/PipelineApi.java @@ -305,6 +305,7 @@ public class PipelineApi extends AbstractApi implements Constants { public List getPipelineSchedules(Object projectIdOrPath) throws GitLabApiException { return (getPipelineSchedules(projectIdOrPath, getDefaultPerPage()).all()); } + /** * Get list of project pipeline schedules in the specified page range. * @@ -320,6 +321,7 @@ public class PipelineApi extends AbstractApi implements Constants { Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "pipeline_schedules"); return (response.readEntity(new GenericType>() {})); } + /** * Get Pager of project pipeline schedule. * @@ -347,7 +349,6 @@ public class PipelineApi extends AbstractApi implements Constants { return (getPipelineSchedules(projectIdOrPath, getDefaultPerPage()).stream()); } - /** * Get a specific pipeline schedule for project. * @@ -427,7 +428,7 @@ public class PipelineApi extends AbstractApi implements Constants { * @return the modified project schedule * @throws GitLabApiException if any exception occurs */ - public PipelineSchedule modifyPipelineSchedule(Object projectIdOrPath,PipelineSchedule pipelineSchedule) throws GitLabApiException { + public PipelineSchedule updatePipelineSchedule(Object projectIdOrPath,PipelineSchedule pipelineSchedule) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm() .withParam("description", pipelineSchedule.getDescription(), false)