public class DataflowValidationReportImpl extends Object implements 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.
|
public List<? extends TokenProcessingEntity> getFailedEntities()
DataflowValidationReport
getFailedEntities
in interface DataflowValidationReport
public Map<TokenProcessingEntity,DataflowValidationReport> getInvalidDataflows()
DataflowValidationReport
DataflowValidationReport.getFailedEntities()
and can be used as a key with this method
to get the DataflowValidationReport explaining how the nested dataflow
failed.getInvalidDataflows
in interface DataflowValidationReport
public List<? extends DataflowOutputPort> getUnresolvedOutputs()
DataflowValidationReport
getUnresolvedOutputs
in interface DataflowValidationReport
public List<? extends TokenProcessingEntity> getUnsatisfiedEntities()
DataflowValidationReport
getUnsatisfiedEntities
in interface DataflowValidationReport
public boolean isValid()
DataflowValidationReport
isValid
in interface DataflowValidationReport
public boolean isWorkflowIncomplete()
DataflowValidationReport
DataflowValidationReport.isValid()
should return
false
.isWorkflowIncomplete
in interface DataflowValidationReport
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.