1 package org.kuali.ole.sys.batch; 2 3 import java.util.Date; 4 5 6 /** 7 * StopBatchContainerStep triggers the BatchContainerStep to shut itself down. 8 * 9 */ 10 public class StopBatchContainerStep extends AbstractStep { 11 private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(StopBatchContainerStep.class); 12 13 /** 14 * The BatchContainerStep recognizes the name of this Step and exits without executing this method. 15 */ 16 public boolean execute(String jobName, Date jobRunDate) throws InterruptedException { 17 18 LOG.info("Stopping Job: "+ jobName +", Date: "+ jobRunDate); 19 return true; 20 } 21 }