public abstract class AbstractStepDefinition extends java.lang.Object implements StepDefinition
StepDefinition.StepDefinitionType| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractStepDefinition()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
deserialize(com.fasterxml.jackson.databind.JsonNode json)
Deserialize a json response and applies it to this mapping 
 | 
java.lang.Integer | 
getBatchSize()
Returns the batch size 
 | 
com.fasterxml.jackson.databind.JsonNode | 
getCustomHook()
Returns the customHook 
 | 
java.lang.String | 
getDescription()
Returns the description of the Step 
 | 
java.lang.String | 
getLang()
Returns the language setting of the step 
 | 
java.lang.String | 
getLanguage()
Deprecated.  
 | 
java.lang.String | 
getModulePath()
Returns path to the module 
 | 
java.lang.String | 
getName()
Returns the name of the step 
 | 
java.util.Map<java.lang.String,java.lang.Object> | 
getOptions()
Returns the step options as a map 
 | 
int | 
getRetryLimit()
Returns the retry limit for the step 
 | 
java.lang.String | 
getSourceQuery()
Returns the step sourceQuery 
 | 
java.lang.Integer | 
getThreadCount()
Returns the thread count 
 | 
StepDefinition.StepDefinitionType | 
getType()
Returns the type of the Step 
 | 
java.lang.Integer | 
getVersion()
Return the step version 
 | 
void | 
incrementVersion()
Automatically increments the version of the mapping by 1 
 | 
void | 
setBatchSize(java.lang.Integer batchSize)
Sets the batch size for running this step 
 | 
void | 
setCustomHook(com.fasterxml.jackson.databind.JsonNode hookObj)
Sets the customHook 
 | 
void | 
setDescription(java.lang.String description)
Sets the description for the step 
 | 
void | 
setModulePath(java.lang.String path)
Sets the module path 
 | 
void | 
setName(java.lang.String name)
Sets the name of the step 
 | 
void | 
setOptions(java.util.Map<java.lang.String,java.lang.Object> options)
Sets the step options 
 | 
void | 
setRetryLimit(int retryLimit)
Sets the retry limit for the step 
 | 
void | 
setSourceQuery(java.lang.String sourceQuery)
Sets the sourceQuery for the step 
 | 
void | 
setThreadCount(java.lang.Integer threadCount)
Sets the thread count for running this step 
 | 
void | 
setType(StepDefinition.StepDefinitionType type)
Sets the type of the step 
 | 
void | 
setVersion(java.lang.Integer version)
Sets the step version number 
 | 
StepDefinition | 
transformFromStep(StepDefinition stepDefinition,
                 Step step)  | 
Step | 
transformToStep(java.lang.String stepName,
               StepDefinition stepDefinition,
               Step step)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate@Deprecated public java.lang.String getLanguage()
StepDefinitiongetLanguage in interface StepDefinitionpublic java.lang.String getLang()
StepDefinitiongetLang in interface StepDefinitionpublic java.lang.String getName()
StepDefinitiongetName in interface StepDefinitionpublic void setName(java.lang.String name)
StepDefinitionsetName in interface StepDefinitionname - - a step namepublic StepDefinition.StepDefinitionType getType()
StepDefinitiongetType in interface StepDefinitionpublic void setType(StepDefinition.StepDefinitionType type)
StepDefinitionsetType in interface StepDefinitiontype - - a step typepublic java.lang.String getDescription()
StepDefinitiongetDescription in interface StepDefinitionpublic void setDescription(java.lang.String description)
StepDefinitionsetDescription in interface StepDefinitiondescription - - a string descriptionpublic java.lang.Integer getVersion()
StepDefinitiongetVersion in interface StepDefinitionpublic void setVersion(java.lang.Integer version)
StepDefinitionsetVersion in interface StepDefinitionversion - - a step versionpublic java.util.Map<java.lang.String,java.lang.Object> getOptions()
StepDefinitiongetOptions in interface StepDefinitionpublic void setOptions(java.util.Map<java.lang.String,java.lang.Object> options)
StepDefinitionsetOptions in interface StepDefinitionoptions - - a options mappublic java.lang.String getModulePath()
StepDefinitiongetModulePath in interface StepDefinitionpublic void setModulePath(java.lang.String path)
StepDefinitionsetModulePath in interface StepDefinitionpath - - a string path to the modulepublic com.fasterxml.jackson.databind.JsonNode getCustomHook()
StepDefinitiongetCustomHook in interface StepDefinitionpublic void setCustomHook(com.fasterxml.jackson.databind.JsonNode hookObj)
StepDefinitionsetCustomHook in interface StepDefinitionhookObj - - a customHook nodepublic java.lang.String getSourceQuery()
StepDefinitiongetSourceQuery in interface StepDefinitionpublic void setSourceQuery(java.lang.String sourceQuery)
StepDefinitionsetSourceQuery in interface StepDefinitionsourceQuery - - a string sourceQuerypublic int getRetryLimit()
StepDefinitiongetRetryLimit in interface StepDefinitionpublic void setRetryLimit(int retryLimit)
StepDefinitionsetRetryLimit in interface StepDefinitionretryLimit - - an integer retry limitpublic java.lang.Integer getBatchSize()
StepDefinitiongetBatchSize in interface StepDefinitionpublic void setBatchSize(java.lang.Integer batchSize)
StepDefinitionsetBatchSize in interface StepDefinitionbatchSize - - an integerpublic java.lang.Integer getThreadCount()
StepDefinitiongetThreadCount in interface StepDefinitionpublic void setThreadCount(java.lang.Integer threadCount)
StepDefinitionsetThreadCount in interface StepDefinitionthreadCount - - an integerpublic void incrementVersion()
StepDefinitionincrementVersion in interface StepDefinitionpublic void deserialize(com.fasterxml.jackson.databind.JsonNode json)
StepDefinitiondeserialize in interface StepDefinitionjson - - the JsonNode you want deserializepublic Step transformToStep(java.lang.String stepName, StepDefinition stepDefinition, Step step)
transformToStep in interface StepDefinitionstepName - name of the stepstepDefinition - step definition object to transform fromstep - step object to be transformedpublic StepDefinition transformFromStep(StepDefinition stepDefinition, Step step)
transformFromStep in interface StepDefinitionstepDefinition - step definition to be transformedstep - step object to transform from