@Controller public class StepExecutionController extends Object
Constructor and Description |
---|
StepExecutionController(JobService jobService) |
Modifier and Type | Method and Description |
---|---|
String |
detail(Model model,
Long jobExecutionId,
Long stepExecutionId,
Date date,
Errors errors) |
String |
getStepExecutionContext(Model model,
Long jobExecutionId,
Long stepExecutionId,
Date date,
Errors errors) |
String |
history(Model model,
Long jobExecutionId,
Long stepExecutionId,
Date date,
Errors errors) |
String |
list(Model model,
Long jobExecutionId,
Date date,
Errors errors) |
void |
setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
void |
setTimeZone(TimeZone timeZone) |
@Autowired public StepExecutionController(JobService jobService)
@Autowired(required=false) @Qualifier(value="userTimeZone") public void setTimeZone(TimeZone timeZone)
timeZone
- the timeZone to set@Autowired public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps", method=GET) public String list(Model model, @PathVariable Long jobExecutionId, @ModelAttribute(value="date") Date date, Errors errors)
@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps/{stepExecutionId}", method=GET) public String detail(Model model, @PathVariable Long jobExecutionId, @PathVariable Long stepExecutionId, @ModelAttribute(value="date") Date date, Errors errors)
@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps/{stepExecutionId}/progress", method=GET) public String history(Model model, @PathVariable Long jobExecutionId, @PathVariable Long stepExecutionId, @ModelAttribute(value="date") Date date, Errors errors)
@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps/{stepExecutionId}/execution-context", method=GET) public String getStepExecutionContext(Model model, @PathVariable Long jobExecutionId, @PathVariable Long stepExecutionId, @ModelAttribute(value="date") Date date, Errors errors)
Copyright © 2015. All rights reserved.