public class DependencyProcessor
extends java.lang.Object
Statements
as defined in a
dependency definition file.Constructor and Description |
---|
DependencyProcessor(java.lang.String dependencyDefinition,
classycle.dependency.DependencyProperties properties,
ResultRenderer renderer)
Creates a new instance for the specified dependency definition.
|
Modifier and Type | Method and Description |
---|---|
Result |
executeNextStatement(AtomicVertex[] graph)
Executes the next unprocessed statement and returns its result.
|
boolean |
hasMoreStatements()
Returns true if there are still unprocessed statements.
|
public DependencyProcessor(java.lang.String dependencyDefinition, classycle.dependency.DependencyProperties properties, ResultRenderer renderer)
Statements
.dependencyDefinition
- Dependency definition as read from a
.ddf file.properties
- Contains predefined properties and will also
be populated by definition in dependencyDefinition
.renderer
- Renderer for processing results.java.lang.IllegalArgumentException
- if dependencyDefinition
is invalid.public boolean hasMoreStatements()
public Result executeNextStatement(AtomicVertex[] graph)
graph
- The graph to be checked by the statement.