public class MetadataLoadingTasklet extends AbstractLexEvsUtilityTasklet implements org.springframework.batch.core.step.tasklet.Tasklet
Constructor and Description |
---|
MetadataLoadingTasklet() |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.repeat.RepeatStatus |
doExecute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext) |
org.springframework.core.io.Resource |
getInputResource()
Gets the input resource.
|
static java.lang.Class<MetaData_Loader> |
getLoaderClass()
Gets the loader class.
|
static java.lang.String |
getLoaderName()
Gets the loader name.
|
boolean |
isAsync()
Checks if is async.
|
boolean |
isDeleteXmlAfterLoad() |
boolean |
isOverwrite()
Checks if is overwrite.
|
boolean |
isStopOnErrors()
Checks if is stop on errors.
|
void |
setAsync(boolean async)
Sets the async.
|
void |
setDeleteXmlAfterLoad(boolean deleteXmlAfterLoad) |
void |
setInputResource(org.springframework.core.io.Resource inputResource)
Sets the input resource.
|
void |
setOverwrite(boolean overwrite)
Sets the overwrite.
|
void |
setStopOnErrors(boolean stopOnErrors)
Sets the stop on errors.
|
execute, getCodingSchemeIdSetter, getConnectionManager, getCurrentCodingScheme, getCurrentCodingSchemeUri, getCurrentCodingSchemeVersion, getDatabaseServiceManager, setCodingSchemeIdSetter, setConnectionManager, setDatabaseServiceManager
getLogger, setLogger
public org.springframework.batch.repeat.RepeatStatus doExecute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext) throws java.lang.Exception
doExecute
in class AbstractLexEvsUtilityTasklet
java.lang.Exception
public org.springframework.core.io.Resource getInputResource()
public void setInputResource(org.springframework.core.io.Resource inputResource)
inputResource
- the new input resourcepublic boolean isStopOnErrors()
public void setStopOnErrors(boolean stopOnErrors)
stopOnErrors
- the new stop on errorspublic boolean isAsync()
public void setAsync(boolean async)
async
- the new asyncpublic boolean isOverwrite()
public void setOverwrite(boolean overwrite)
overwrite
- the new overwritepublic static java.lang.String getLoaderName()
public static java.lang.Class<MetaData_Loader> getLoaderClass()
public boolean isDeleteXmlAfterLoad()
public void setDeleteXmlAfterLoad(boolean deleteXmlAfterLoad)