public interface DataflowValidationReport
Modifier and Type | Method and Description |
---|---|
List<? extends TokenProcessingEntity> |
getFailedEntities()
The workflow will be marked as invalid if any entity fails to type check.
|
Map<TokenProcessingEntity,DataflowValidationReport> |
getInvalidDataflows()
An entity will be marked invalid if it depends on a nested dataflow which
itself is invalid.
|
List<? extends DataflowOutputPort> |
getUnresolvedOutputs()
The workflow will be marked as invalid if any of the dataflow output
ports can't be typed based on incoming links.
|
List<? extends TokenProcessingEntity> |
getUnsatisfiedEntities()
The workflow will be marked as invalid if there are entities with
unlinked input ports or where there are cycles causing the type checking
algorithm to give up.
|
boolean |
isValid()
Overall validity - if the workflow is valid it can be run, otherwise
there are problems somewhere and a facade can't be created from it.
|
boolean |
isWorkflowIncomplete()
Whether the workflow is incomplete, i.e.
|
boolean isValid()
boolean isWorkflowIncomplete()
isValid()
should return
false
.List<? extends TokenProcessingEntity> getUnsatisfiedEntities()
List<? extends TokenProcessingEntity> getFailedEntities()
List<? extends DataflowOutputPort> getUnresolvedOutputs()
Map<TokenProcessingEntity,DataflowValidationReport> getInvalidDataflows()
getFailedEntities()
and can be used as a key with this method
to get the DataflowValidationReport explaining how the nested dataflow
failed.Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.