|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.sys.batch.AbstractStep
org.kuali.kfs.sys.batch.FilePurgeStep
public class FilePurgeStep
Purges old files from the reports directory specified in build.properties
| Constructor Summary | |
|---|---|
FilePurgeStep()
|
|
| Method Summary | |
|---|---|
boolean |
execute(String jobName,
Date jobRunDate)
Deletes all files in the temporary directory that are over 1 day old |
List |
getCustomAges()
Gets the customAges attribute. |
List |
getDirectories()
Gets the directories attribute. |
FilePurgeService |
getFilePurgeService()
Gets the filePurgeService attribute. |
void |
setCustomAges(List customAge)
Sets the customAges attribute value. |
void |
setDirectories(List directories)
Sets the directories attribute value. |
void |
setFilePurgeService(FilePurgeService filePurgeService)
Sets the filePurgeService 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 |
|---|
public FilePurgeStep()
| Method Detail |
|---|
public boolean execute(String jobName,
Date jobRunDate)
throws InterruptedException
jobName - the name of the job running the stepjobRunDate - the time/date the job is executed
InterruptedExceptionStep.execute(String, Date)public List getDirectories()
public void setDirectories(List directories)
directories - The directories to set.public List getCustomAges()
public void setCustomAges(List customAge)
customAges - The customAges to set.public FilePurgeService getFilePurgeService()
public void setFilePurgeService(FilePurgeService filePurgeService)
filePurgeService - The filePurgeService to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||