org.kuali.kfs.gl.batch
Class MarkScrubbableBackupGroupsAsUnscrubbableStep

java.lang.Object
  extended by org.kuali.kfs.sys.batch.AbstractStep
      extended by 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.


Constructor Summary
MarkScrubbableBackupGroupsAsUnscrubbableStep()
           
 
Method Summary
 boolean execute(String jobName, Date jobRunDate)
          Marks all scrubbable backup groups as unscrubbable
 void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
          Sets the originEntryGroupSerivce, allowing the injection of an implementation of that service
 
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

MarkScrubbableBackupGroupsAsUnscrubbableStep

public MarkScrubbableBackupGroupsAsUnscrubbableStep()
Method Detail

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 of
jobRunDate - 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.