@OpenApiAll
public interface ElementValidationRuleImpl
| Modifier and Type | Method and Description | 
|---|---|
void | 
dispose()
This method will be invoked when instance of the  
ElementValidationRuleImpl will become no longer needed. | 
void | 
init(Project project,
    Constraint constraint)
This is the first method that is invoked on the implementation of
 the  
ElementValidationRuleImpl interface. | 
java.util.Set<Annotation> | 
run(Project project,
   Constraint constraint,
   java.util.Collection<? extends Element> elements)
Implementation of the method should perform validating of the specified model elements using
 specified constraint. 
 | 
void init(Project project, Constraint constraint)
ElementValidationRuleImpl interface. Implementation can initialize
 internal state if required.project - a project of the constraint.constraint - a constraint object.java.util.Set<Annotation> run(Project project, Constraint constraint, java.util.Collection<? extends Element> elements)
Annotation
 objects that specifies information about invalid elements.project - a project of the constraint.constraint - constraint which defines validation rules.elements - collection of elements that have to be validated.Annotation objects that describes violations of the rule.void dispose()
ElementValidationRuleImpl will become no longer needed.