public interface IEvlModule extends IErlModule
| Modifier and Type | Method and Description |
|---|---|
Set<UnsatisfiedConstraint> |
execute() |
default Constraint |
getConstraint(String constraintName,
String contextName,
Object modelElement,
ModuleElement ast)
Finds a Constraint instance in this module based on the specified filters.
|
default ConstraintContext |
getConstraintContext(String name)
Searches for a
ConstraintContext by the specified type name. |
List<ConstraintContext> |
getConstraintContexts() |
List<Constraint> |
getConstraints() |
default IEvlContext |
getContext() |
List<ConstraintContext> |
getDeclaredConstraintContexts() |
IEvlFixer |
getUnsatisfiedConstraintFixer() |
void |
setUnsatisfiedConstraintFixer(IEvlFixer fixer) |
getDeclaredPost, getDeclaredPre, getPost, getPreconfigure, getCompilationContext, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getMain, getModelDelcarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setParentModuleList<Constraint> getConstraints()
List<ConstraintContext> getDeclaredConstraintContexts()
List<ConstraintContext> getConstraintContexts()
Set<UnsatisfiedConstraint> execute() throws EolRuntimeException
execute in interface IEolModuleEolRuntimeExceptionvoid setUnsatisfiedConstraintFixer(IEvlFixer fixer)
IEvlFixer getUnsatisfiedConstraintFixer()
default IEvlContext getContext()
getContext in interface IEolModulegetContext in interface IErlModuledefault ConstraintContext getConstraintContext(String name)
ConstraintContext by the specified type name.name - The name of the model element type.null if not found.default Constraint getConstraint(String constraintName, String contextName, Object modelElement, ModuleElement ast) throws EolRuntimeException
constraintName - The constraint name to search for (mandatory).contextName - The name of the model element type (ConstraintContext) that the constraint is declared in (optional).modelElement - A model element which the Constraint's context should be applicable to (optional).ast - The AST that is calling this operation (optional).null if not found.EolRuntimeException - If there are problems finding the constraint from the specified parameters.EvlConstraintNotFoundException - If the constraint could not be found.Copyright © 2020. All rights reserved.