1313 * This class provides an entry point to all the GitLab API repository files calls.
1414 */
1515public class RunnersApi extends AbstractApi {
16+
1617 public RunnersApi (GitLabApi gitLabApi ) {
1718 super (gitLabApi );
1819 }
@@ -417,12 +418,13 @@ public Runner disableRunner(Integer projectId, Integer runnerId) throws GitLabAp
417418 *
418419 * POST /runners/
419420 *
420- * @param token the token of the project (for project specific runners) or the token from the admin page.
421+ * @param token the token of the project (for project specific runners) or the token from the admin page
421422 * @param description The description of a runner
422423 * @param active The state of a runner; can be set to true or false
423424 * @param tagList The list of tags for a runner; put array of tags, that should be finally assigned to a runner
424425 * @param runUntagged Flag indicating the runner can execute untagged jobs
425426 * @param locked Flag indicating the runner is locked
427+ * @param maximumTimeout the maximum timeout set when this Runner will handle the job
426428 * @return RunnerDetail instance.
427429 * @throws GitLabApiException if any exception occurs
428430 */
@@ -442,10 +444,11 @@ public RunnerDetail registerRunner(String token, String description, Boolean act
442444 }
443445
444446 /**
445- * Deletes a registed Runner.
447+ * Deletes a registered Runner.
446448 *
447449 * DELETE /runners/
448450 *
451+ * @param token the runners authentication token
449452 * @throws GitLabApiException if any exception occurs
450453 */
451454 public void deleteRunner (String token ) throws GitLabApiException {
@@ -454,6 +457,4 @@ public void deleteRunner(String token) throws GitLabApiException {
454457
455458 delete (Response .Status .NO_CONTENT , formData .asMap (), "runners" );
456459 }
457-
458-
459460}
0 commit comments