public class PurgeTempFilesStep extends AbstractStep
batchInputFileType, dateTimeService, interrupted, name, parameterService
Constructor and Description |
---|
PurgeTempFilesStep() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(String jobName,
Date jobRunDate)
Deletes all files in the temp directory that are over 1 day old
|
void |
setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configurationService)
Sets the configurationService attribute value.
|
afterPropertiesSet, getBatchInputFileType, getDateTimeService, getName, getParameterService, getRequiredDirectoryNames, interrupt, isInterrupted, setBatchInputFileType, setBeanName, setDateTimeService, setInterrupted, setParameterService
prepareDirectories
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepareDirectories
public PurgeTempFilesStep()
public boolean execute(String jobName, Date jobRunDate) throws InterruptedException
jobName
- the name of the job running the stepjobRunDate
- the time/date the job is executedInterruptedException
Step.execute(String, Date)
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configurationService)
configurationService
- The configurationService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.