org.lexgrid.loader.lexbigadmin
Class RegisteringTasklet
java.lang.Object
org.lexgrid.loader.logging.LoggingBean
org.lexgrid.loader.lexbigadmin.AbstractLexEvsUtilityTasklet
org.lexgrid.loader.lexbigadmin.RegisteringTasklet
- All Implemented Interfaces:
- org.springframework.batch.core.step.tasklet.Tasklet
public class RegisteringTasklet
- extends AbstractLexEvsUtilityTasklet
- implements org.springframework.batch.core.step.tasklet.Tasklet
The Class RegisteringTasklet.
- Author:
- Kevin Peterson
Method Summary |
protected org.springframework.batch.repeat.RepeatStatus |
doExecute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext)
|
org.springframework.batch.repeat.RepeatStatus |
execute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext)
|
protected java.lang.String |
getCurrentCodingSchemeUri()
Gets the current coding scheme uri. |
protected java.lang.String |
getCurrentCodingSchemeVersion()
Gets the current coding scheme version. |
java.lang.String |
getPrefix()
|
boolean |
isRetry()
|
void |
setPrefix(java.lang.String prefix)
|
void |
setRetry(boolean retry)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegisteringTasklet
public RegisteringTasklet()
execute
public org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext)
throws java.lang.Exception
- Specified by:
execute
in interface org.springframework.batch.core.step.tasklet.Tasklet
- Overrides:
execute
in class AbstractLexEvsUtilityTasklet
- Throws:
java.lang.Exception
getCurrentCodingSchemeUri
protected java.lang.String getCurrentCodingSchemeUri()
throws java.lang.Exception
- Description copied from class:
AbstractLexEvsUtilityTasklet
- Gets the current coding scheme uri.
- Overrides:
getCurrentCodingSchemeUri
in class AbstractLexEvsUtilityTasklet
- Returns:
- the current coding scheme uri
- Throws:
java.lang.Exception
- the exception
getCurrentCodingSchemeVersion
protected java.lang.String getCurrentCodingSchemeVersion()
throws java.lang.Exception
- Description copied from class:
AbstractLexEvsUtilityTasklet
- Gets the current coding scheme version.
- Overrides:
getCurrentCodingSchemeVersion
in class AbstractLexEvsUtilityTasklet
- Returns:
- the current coding scheme version
- Throws:
java.lang.Exception
- the exception
doExecute
protected 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
setRetry
public void setRetry(boolean retry)
isRetry
public boolean isRetry()
setPrefix
public void setPrefix(java.lang.String prefix)
getPrefix
public java.lang.String getPrefix()