public final class StructuralValidator extends Object implements Validator<StructuralValidationListener>
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<ValidatorState> |
validatorState |
Constructor and Description |
---|
StructuralValidator() |
Modifier and Type | Method and Description |
---|---|
void |
checkStructure(WorkflowBundle bundle,
StructuralValidationListener eventListener) |
void |
checkStructure(Workflow workflow,
StructuralValidationListener eventListener) |
Integer |
getDotProductIterationDepth(DotProduct dotProduct,
Map<InputProcessorPort,Integer> inputDepths) |
Integer |
getIterationDepth(IterationStrategyNode iterationStrategyNode,
Map<InputProcessorPort,Integer> inputDepths) |
ValidatorState |
getValidatorState() |
StructuralValidationListener |
validate(WorkflowBundle workflowBundle)
Validate the given workflow bundle.
|
protected ThreadLocal<ValidatorState> validatorState
public void checkStructure(WorkflowBundle bundle, StructuralValidationListener eventListener)
public ValidatorState getValidatorState()
public void checkStructure(Workflow workflow, StructuralValidationListener eventListener)
public Integer getIterationDepth(IterationStrategyNode iterationStrategyNode, Map<InputProcessorPort,Integer> inputDepths)
public Integer getDotProductIterationDepth(DotProduct dotProduct, Map<InputProcessorPort,Integer> inputDepths)
public StructuralValidationListener validate(WorkflowBundle workflowBundle)
Validator
validate
in interface Validator<StructuralValidationListener>
workflowBundle
- The bundle to validate.Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.