org.springframework.batch.admin.web
Class StepExecutionController

java.lang.Object
  extended by org.springframework.batch.admin.web.StepExecutionController

@Controller
public class StepExecutionController
extends java.lang.Object

Controller for step executions.

Author:
Dave Syer

Constructor Summary
StepExecutionController(JobService jobService)
           
 
Method Summary
 java.lang.String detail(org.springframework.ui.Model model, java.lang.Long jobExecutionId, java.lang.Long stepExecutionId, java.util.Date date, org.springframework.validation.Errors errors)
           
 java.lang.String history(org.springframework.ui.Model model, java.lang.Long jobExecutionId, java.lang.Long stepExecutionId, java.util.Date date, org.springframework.validation.Errors errors)
           
 java.lang.String list(org.springframework.ui.Model model, java.lang.Long jobExecutionId, java.util.Date date, org.springframework.validation.Errors errors)
           
 void setTimeZone(java.util.TimeZone timeZone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepExecutionController

public StepExecutionController(JobService jobService)
Method Detail

setTimeZone

@Qualifier(value="userTimeZone")
public void setTimeZone(java.util.TimeZone timeZone)
Parameters:
timeZone - the timeZone to set

list

@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps",
                method=GET)
public java.lang.String list(org.springframework.ui.Model model,
                                            @PathVariable
                                            java.lang.Long jobExecutionId,
                                            @ModelAttribute(value="date")
                                            java.util.Date date,
                                            org.springframework.validation.Errors errors)

detail

@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps/{stepExecutionId}",
                method=GET)
public java.lang.String detail(org.springframework.ui.Model model,
                                              @PathVariable
                                              java.lang.Long jobExecutionId,
                                              @PathVariable
                                              java.lang.Long stepExecutionId,
                                              @ModelAttribute(value="date")
                                              java.util.Date date,
                                              org.springframework.validation.Errors errors)

history

@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps/{stepExecutionId}/progress",
                method=GET)
public java.lang.String history(org.springframework.ui.Model model,
                                               @PathVariable
                                               java.lang.Long jobExecutionId,
                                               @PathVariable
                                               java.lang.Long stepExecutionId,
                                               @ModelAttribute(value="date")
                                               java.util.Date date,
                                               org.springframework.validation.Errors errors)


Copyright © 2011. All Rights Reserved.