org.kuali.kfs.module.cg.batch
Class CloseBatchStep

java.lang.Object
  extended by org.kuali.kfs.sys.batch.AbstractStep
      extended by org.kuali.kfs.module.cg.batch.CloseBatchStep
All Implemented Interfaces:
Step, org.springframework.beans.factory.BeanNameAware

public class CloseBatchStep
extends AbstractStep

See Also:
CloseService.close()

Constructor Summary
CloseBatchStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          See the class description.
 void setCloseService(CloseService closeService)
          Sets the CloseService.
 
Methods inherited from class org.kuali.kfs.sys.batch.AbstractStep
getDateTimeService, getName, getParameterService, interrupt, isInterrupted, setBeanName, setDateTimeService, setInterrupted, setParameterService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseBatchStep

public CloseBatchStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
See the class description.

Parameters:
jobName - the name of the job running the step
jobRunDate - the time/date the job is executed
Returns:
true if successful and continue the job, false if successful and stop the job
See Also:
Step.execute(String, Date)

setCloseService

public void setCloseService(CloseService closeService)
Sets the CloseService. For use by Spring.

Parameters:
closeService - The value to be used to assign to the local attribute closeService.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.