public interface StepDefinitionManager
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
STEP_DEFINITION_FILE_EXTENSION
String value for the mapping file extension 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StepDefinition | 
createStepDefinitionFromJSON(com.fasterxml.jackson.databind.JsonNode json)
Creates a Step Definition from a given JsonNode 
 | 
void | 
deleteStepDefinition(StepDefinition stepDefinition)
Deletes a Step Definition from disk 
 | 
StepDefinition | 
getStepDefinition(java.lang.String name,
                 StepDefinition.StepDefinitionType type)
Returns a single Step Definition given a name and a type 
 | 
java.util.ArrayList<java.lang.String> | 
getStepDefinitionNamesByType(StepDefinition.StepDefinitionType type)
Returns a list of Step Definition names that have the given type 
 | 
java.util.ArrayList<StepDefinition> | 
getStepDefinitions()
Returns a list of all Step Definition currently defined 
 | 
java.util.ArrayList<StepDefinition> | 
getStepDefinitionsByType(StepDefinition.StepDefinitionType type)
Returns a list of Step Definitions that have the given type 
 | 
void | 
saveStepDefinition(StepDefinition stepDefinition)
Saves a Step Definition to disk 
 | 
void | 
saveStepDefinition(StepDefinition stepDefinition,
                  boolean autoIncrement)
Saves a Step Definition to disk 
 | 
static final java.lang.String STEP_DEFINITION_FILE_EXTENSION
void saveStepDefinition(StepDefinition stepDefinition)
stepDefinition - - the Step Definition object to be savedvoid saveStepDefinition(StepDefinition stepDefinition, boolean autoIncrement)
stepDefinition - - the Step Definition object to be savedautoIncrement - - true to increment version, false if not tovoid deleteStepDefinition(StepDefinition stepDefinition)
stepDefinition - - the Step Definition object to be deletedjava.util.ArrayList<StepDefinition> getStepDefinitions()
StepDefinition getStepDefinition(java.lang.String name, StepDefinition.StepDefinitionType type)
name - - name of the Step Definitiontype - - type of the Step Definitionjava.util.ArrayList<StepDefinition> getStepDefinitionsByType(StepDefinition.StepDefinitionType type)
type - - type of the Step Definitionjava.util.ArrayList<java.lang.String> getStepDefinitionNamesByType(StepDefinition.StepDefinitionType type)
type - - type of the Step DefinitionStepDefinition createStepDefinitionFromJSON(com.fasterxml.jackson.databind.JsonNode json)
json - - a JsonNode