ee.telekom.workflow.graph.GraphValidator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of workflow-engine Show documentation
Show all versions of workflow-engine Show documentation
Telekom-workflow-engine core provides the runtime environment for workflow execution together with all the supporting services (clustering, persistence, error handling etc).
package ee.telekom.workflow.graph;
import java.util.List;
/**
* Validator interface for {@link Graph}s
*/
public interface GraphValidator {
/**
* Validates the given graph and returns a list of validation errors. The
* list might be empty if no errors are found but will never be
* null
.
*
* @param graph
* the graph to be validated
* @return a list of validation errors or an empty list if no errors are
* found
*/
List validate(Graph graph);
}