org.springframework.batch.admin.web
Class StepExecutionController
java.lang.Object
org.springframework.batch.admin.web.StepExecutionController
@Controller
public class StepExecutionController
- extends Object
Controller for step executions.
- Author:
- Dave Syer
|
Method Summary |
String |
detail(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 |
setTimeZone(TimeZone timeZone)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepExecutionController
public StepExecutionController(JobService jobService)
setTimeZone
@Qualifier(value="userTimeZone")
public void setTimeZone(TimeZone timeZone)
- Parameters:
timeZone - the timeZone to set
list
@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps",
method=GET)
public String list(Model model,
@PathVariable
Long jobExecutionId,
@ModelAttribute(value="date")
Date date,
Errors errors)
detail
@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)
history
@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)
Copyright © 2011. All Rights Reserved.