Class StepDefinitionDto
- java.lang.Object
-
- com.chutneytesting.engine.api.execution.StepDefinitionDto
-
public class StepDefinitionDto extends Object
Immutable tree-like structure composing a Scenario.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStepDefinitionDto.StepStrategyDefinitionDtostatic classStepDefinitionDto.StrategyPropertiesDto
-
Field Summary
Fields Modifier and Type Field Description Map<String,Object>inputsData used by a matched extension, may be empty.StringnameMap<String,Object>outputsList<StepDefinitionDto>stepsSub steps, may be empty.StepDefinitionDto.StepStrategyDefinitionDtostrategyStringtypeType of the step, should match an extension.Map<String,Object>validations
-
Constructor Summary
Constructors Constructor Description StepDefinitionDto(String name, TargetExecutionDto target, String type, StepDefinitionDto.StepStrategyDefinitionDto strategy, Map<String,Object> inputs, List<StepDefinitionDto> steps, Map<String,Object> outputs, Map<String,Object> validations)
-
-
-
Field Detail
-
name
public final String name
-
type
public final String type
Type of the step, should match an extension.
-
steps
public final List<StepDefinitionDto> steps
Sub steps, may be empty.
-
strategy
public final StepDefinitionDto.StepStrategyDefinitionDto strategy
-
-
Constructor Detail
-
StepDefinitionDto
public StepDefinitionDto(String name, TargetExecutionDto target, String type, StepDefinitionDto.StepStrategyDefinitionDto strategy, Map<String,Object> inputs, List<StepDefinitionDto> steps, Map<String,Object> outputs, Map<String,Object> validations)
-
-
Method Detail
-
getTarget
public Optional<TargetExecutionDto> getTarget()
-
-