org.kuali.kfs.sys.batch
Class ClearCacheStep

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

public class ClearCacheStep
extends AbstractStep
implements TestingStep

Batch step to clear system cache


Constructor Summary
ClearCacheStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          Perform this step of a batch job.
 void setCacheService(CacheService cacheService)
          Sets the cacheService attribute value.
 
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

ClearCacheStep

public ClearCacheStep()
Method Detail

execute

public boolean execute(String jobName,
                       Date jobRunDate)
                throws InterruptedException
Description copied from interface: Step
Perform this step of a batch job.

Specified by:
execute in interface Step
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
Throws:
InterruptedException
See Also:
Step.execute(String, Date)

setCacheService

public void setCacheService(CacheService cacheService)
Sets the cacheService attribute value.

Parameters:
cacheService - The cacheService to set.


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