public abstract class AbstractStep extends InitiateDirectoryBase implements Step, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, InitiateDirectory
Modifier and Type | Field and Description |
---|---|
protected BatchInputFileType |
batchInputFileType |
protected org.kuali.rice.core.api.datetime.DateTimeService |
dateTimeService |
protected boolean |
interrupted |
protected String |
name |
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
parameterService |
Constructor and Description |
---|
AbstractStep() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initialization after bean properties are instantiate,
|
BatchInputFileType |
getBatchInputFileType() |
protected org.kuali.rice.core.api.datetime.DateTimeService |
getDateTimeService()
Gets the dateTimeService attribute.
|
String |
getName()
Gets the name attribute.
|
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
List<String> |
getRequiredDirectoryNames()
By default it should use batchInpeutFile (single file) directory path as the required directory name.
|
void |
interrupt()
Initializes the interrupted flag
|
boolean |
isInterrupted()
Returns the boolean value of the interrupted flag
|
void |
setBatchInputFileType(BatchInputFileType batchInputFileType) |
void |
setBeanName(String name)
Sets the bean name
|
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
Sets the dateTimeService attribute value.
|
void |
setInterrupted(boolean interrupted)
Sets the interruped flag
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
prepareDirectories
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepareDirectories
protected org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService
protected org.kuali.rice.core.api.datetime.DateTimeService dateTimeService
protected BatchInputFileType batchInputFileType
protected boolean interrupted
public AbstractStep()
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
InitializingBean.afterPropertiesSet()
public List<String> getRequiredDirectoryNames()
getRequiredDirectoryNames
in interface InitiateDirectory
getRequiredDirectoryNames
in class InitiateDirectoryBase
org.kuali.ole.sys.batch.service.InitiateDirectoryInterface#getRequiredDirectoryNames()
public void setBeanName(String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
name
- String that contains the bean nameBeanNameAware.setBeanName(java.lang.String)
protected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
protected org.kuali.rice.core.api.datetime.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
dateTimeService
- The dateTimeService to set.public boolean isInterrupted()
isInterrupted
in interface Step
Step.isInterrupted()
public BatchInputFileType getBatchInputFileType()
public void setBatchInputFileType(BatchInputFileType batchInputFileType)
public void setInterrupted(boolean interrupted)
setInterrupted
in interface Step
interrupted
- Step.setInterrupted(boolean)
public void interrupt()
interrupt
in interface Step
Step.interrupt()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.