@Component public class JobCommands extends Object implements org.springframework.shell.core.CommandMarker
| Constructor and Description |
|---|
JobCommands() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
availableWithViewRole() |
org.springframework.shell.table.Table |
executionDisplay(long id) |
org.springframework.shell.table.Table |
executionList(String name) |
org.springframework.shell.table.Table |
instanceDisplay(long id) |
org.springframework.shell.table.Table |
stepExecutionDisplay(long id,
long jobExecutionId) |
org.springframework.shell.table.Table |
stepExecutionList(long id) |
org.springframework.shell.table.Table |
stepProgressDisplay(long id,
long jobExecutionId) |
@CliAvailabilityIndicator(value={"job execution display","job execution list","job execution step list","job instance display","job execution step progress","job execution step display"})
public boolean availableWithViewRole()
@CliCommand(value="job execution list",
help="List created job executions filtered by jobName")
public org.springframework.shell.table.Table executionList(@CliOption(key="name",help="the job name to be used as a filter",mandatory=false)
String name)
@CliCommand(value="job execution display",
help="Display the details of a specific job execution")
public org.springframework.shell.table.Table executionDisplay(@CliOption(key="id",help="the job execution id",mandatory=true)
long id)
@CliCommand(value="job instance display",
help="Display the job executions for a specific job instance.")
public org.springframework.shell.table.Table instanceDisplay(@CliOption(key="id",help="the job instance id",mandatory=true)
long id)
@CliCommand(value="job execution step list",
help="List step executions filtered by jobExecutionId")
public org.springframework.shell.table.Table stepExecutionList(@CliOption(key="id",help="the job execution id to be used as a filter",mandatory=true)
long id)
@CliCommand(value="job execution step progress",
help="Display the details of a specific step progress")
public org.springframework.shell.table.Table stepProgressDisplay(@CliOption(key="id",help="the step execution id",mandatory=true)
long id,
@CliOption(key="jobExecutionId",help="the job execution id",mandatory=true)
long jobExecutionId)
@CliCommand(value="job execution step display",
help="Display the details of a specific step execution")
public org.springframework.shell.table.Table stepExecutionDisplay(@CliOption(key="id",help="the step execution id",mandatory=true)
long id,
@CliOption(key="jobExecutionId",help="the job execution id",mandatory=true)
long jobExecutionId)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.