org.kuali.kfs.gl.batch
Class MarkScrubbableBackupGroupsAsUnscrubbableStep
java.lang.Object
org.kuali.kfs.sys.batch.AbstractStep
org.kuali.kfs.gl.batch.MarkScrubbableBackupGroupsAsUnscrubbableStep
- All Implemented Interfaces:
- Step, TestingStep, org.springframework.beans.factory.BeanNameAware
public class MarkScrubbableBackupGroupsAsUnscrubbableStep
- extends AbstractStep
- implements TestingStep
This step will mark all backup groups in the database so that they will not be scrubbed when the nightly scrubber step runs
again.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarkScrubbableBackupGroupsAsUnscrubbableStep
public MarkScrubbableBackupGroupsAsUnscrubbableStep()
execute
public boolean execute(String jobName,
Date jobRunDate)
throws InterruptedException
- Marks all scrubbable backup groups as unscrubbable
- Specified by:
execute
in interface Step
- Parameters:
jobName
- the name of the job this step is being run as part ofjobRunDate
- the time/date the job is being run
- Returns:
- true if the step completed successfully, false if otherwise
- Throws:
InterruptedException
- See Also:
org.kuali.kfs.sys.batch.Step#execute(java.lang.String)
setOriginEntryGroupService
public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
- Sets the originEntryGroupSerivce, allowing the injection of an implementation of that service
- Parameters:
originEntryGroupService
- an implementation originEntryGroupService to set- See Also:
OriginEntryGroupService
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.