@ShellComponent public class JobCommands extends Object
Constructor and Description |
---|
JobCommands() |
Modifier and Type | Method and Description |
---|---|
Availability |
availableWithViewRole() |
Table |
executionDisplay(long id) |
Table |
executionList(String name) |
String |
executionRestart(long id) |
Table |
instanceDisplay(long id) |
Table |
stepExecutionDisplay(long id,
long jobExecutionId) |
Table |
stepExecutionList(long id) |
Table |
stepProgressDisplay(long id,
long jobExecutionId) |
public Availability availableWithViewRole()
@ShellMethod(key="job execution list", value="List created job executions filtered by jobName") @ShellMethodAvailability(value="availableWithViewRole") public Table executionList(@ShellOption(help="the job name to be used as a filter",defaultValue="__NULL__") String name)
@ShellMethod(key="job execution restart", value="Restart a failed job by jobExecutionId") @ShellMethodAvailability(value="availableWithViewRole") public String executionRestart(@ShellOption(help="the job execution id") long id)
@ShellMethod(key="job execution display", value="Display the details of a specific job execution") @ShellMethodAvailability(value="availableWithViewRole") public Table executionDisplay(@ShellOption(help="the job execution id") long id)
@ShellMethod(key="job instance display", value="Display the job executions for a specific job instance.") @ShellMethodAvailability(value="availableWithViewRole") public Table instanceDisplay(@ShellOption(help="the job instance id") long id)
@ShellMethod(key="job execution step list", value="List step executions filtered by jobExecutionId") @ShellMethodAvailability(value="availableWithViewRole") public Table stepExecutionList(@ShellOption(help="the job execution id to be used as a filter") long id)
@ShellMethod(key="job execution step progress", value="Display the details of a specific step progress") @ShellMethodAvailability(value="availableWithViewRole") public Table stepProgressDisplay(@ShellOption(help="the step execution id") long id, @ShellOption(value="--jobExecutionId",help="the job execution id") long jobExecutionId)
@ShellMethod(key="job execution step display", value="Display the details of a specific step execution") @ShellMethodAvailability(value="availableWithViewRole") public Table stepExecutionDisplay(@ShellOption(help="the step execution id") long id, @ShellOption(value="--jobExecutionId",help="the job execution id") long jobExecutionId)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.