org.lexgrid.loader.lexbigadmin
Class MetadataLoadingTasklet

java.lang.Object
  extended by org.lexgrid.loader.logging.LoggingBean
      extended by org.lexgrid.loader.lexbigadmin.AbstractLexEvsUtilityTasklet
          extended by org.lexgrid.loader.lexbigadmin.MetadataLoadingTasklet
All Implemented Interfaces:
org.springframework.batch.core.step.tasklet.Tasklet

public class MetadataLoadingTasklet
extends AbstractLexEvsUtilityTasklet
implements org.springframework.batch.core.step.tasklet.Tasklet

The Class MetadataLoadingTasklet.

Author:
Kevin Peterson

Constructor Summary
MetadataLoadingTasklet()
           
 
Method Summary
 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.
 
Methods inherited from class org.lexgrid.loader.lexbigadmin.AbstractLexEvsUtilityTasklet
execute, getCodingSchemeIdSetter, getConnectionManager, getCurrentCodingScheme, getCurrentCodingSchemeUri, getCurrentCodingSchemeVersion, getDatabaseServiceManager, setCodingSchemeIdSetter, setConnectionManager, setDatabaseServiceManager
 
Methods inherited from class org.lexgrid.loader.logging.LoggingBean
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.batch.core.step.tasklet.Tasklet
execute
 

Constructor Detail

MetadataLoadingTasklet

public MetadataLoadingTasklet()
Method Detail

doExecute

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
Specified by:
doExecute in class AbstractLexEvsUtilityTasklet
Throws:
java.lang.Exception

getInputResource

public org.springframework.core.io.Resource getInputResource()
Gets the input resource.

Returns:
the input resource

setInputResource

public void setInputResource(org.springframework.core.io.Resource inputResource)
Sets the input resource.

Parameters:
inputResource - the new input resource

isStopOnErrors

public boolean isStopOnErrors()
Checks if is stop on errors.

Returns:
true, if is stop on errors

setStopOnErrors

public void setStopOnErrors(boolean stopOnErrors)
Sets the stop on errors.

Parameters:
stopOnErrors - the new stop on errors

isAsync

public boolean isAsync()
Checks if is async.

Returns:
true, if is async

setAsync

public void setAsync(boolean async)
Sets the async.

Parameters:
async - the new async

isOverwrite

public boolean isOverwrite()
Checks if is overwrite.

Returns:
true, if is overwrite

setOverwrite

public void setOverwrite(boolean overwrite)
Sets the overwrite.

Parameters:
overwrite - the new overwrite

getLoaderName

public static java.lang.String getLoaderName()
Gets the loader name.

Returns:
the loader name

getLoaderClass

public static java.lang.Class<MetaData_Loader> getLoaderClass()
Gets the loader class.

Returns:
the loader class

isDeleteXmlAfterLoad

public boolean isDeleteXmlAfterLoad()

setDeleteXmlAfterLoad

public void setDeleteXmlAfterLoad(boolean deleteXmlAfterLoad)

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.