Modifier and Type | Field and Description |
---|---|
protected ArrayList<Constraint> |
EvlModule.constraints |
Modifier and Type | Method and Description |
---|---|
default Constraint |
IEvlModule.getConstraint(String constraintName,
String contextName,
Object modelElement,
ModuleElement ast)
Finds a Constraint instance in this module based on the specified filters.
|
Modifier and Type | Method and Description |
---|---|
List<Constraint> |
IEvlModule.getConstraints() |
List<Constraint> |
EvlModule.getConstraints() |
protected Collection<Constraint> |
EvlModule.getOptimisedConstraintsFor(ConstraintContext constraintContext) |
protected Collection<Constraint> |
EvlModule.preProcessConstraintContext(ConstraintContext constraintContext) |
Modifier and Type | Method and Description |
---|---|
Constraint |
EvlModuleParallel.getConstraint(String constraintName,
String contextName,
Object modelElement,
ModuleElement ast)
Does not look up the element in the context.
|
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Constraint> |
ConstraintContext.constraints |
Modifier and Type | Method and Description |
---|---|
List<Constraint> |
ConstraintContext.getConstraints() |
Modifier and Type | Method and Description |
---|---|
boolean |
ConstraintSelectTransfomer.canBeTransformed(Constraint constraint) |
ExecutableBlock<?> |
ConstraintSelectTransfomer.transformIntoSelect(Constraint constraint)
Produces a new ExecutableBlock that will find all invalid objects at once.
|
Modifier and Type | Method and Description |
---|---|
void |
ConstraintContext.execute(Collection<Constraint> constraintsToCheck,
IEvlContext context)
Executes all of the give constraints for all applicable elements of this type.
|
boolean |
ConstraintContext.execute(Collection<Constraint> constraintsToCheck,
Object modelElement,
IEvlContext context)
Executes all constraints for the given model element, provided it is applicable to this
ConstraintContext and that this ConstraintContext is not lazy.
|
Modifier and Type | Field and Description |
---|---|
protected Constraint |
UnsatisfiedConstraint.constraint |
Modifier and Type | Method and Description |
---|---|
Constraint |
UnsatisfiedConstraint.getConstraint() |
Modifier and Type | Method and Description |
---|---|
void |
UnsatisfiedConstraint.setConstraint(Constraint constraint) |
Constructor and Description |
---|
ConstraintAtom(Constraint constraint,
Object modelElement) |
ConstraintAtom(Constraint constraint,
Object modelElement,
IEvlContext context) |
Modifier and Type | Method and Description |
---|---|
default Set<Constraint> |
IEvlContext.getConstraintsDependedOn() |
default Map<Constraint,Integer> |
IEvlContext.getUnsatisfiedConstraintsBySize() |
default Map<Constraint,Set<Object>> |
IEvlContext.sortUnsatisfiedConstraints() |
Modifier and Type | Method and Description |
---|---|
boolean |
EvlContext.shouldShortCircuit(Constraint constraint) |
default boolean |
IEvlContext.shouldShortCircuit(Constraint constraint)
Checks whether the condition for short-circuiting is met, either by previous invocation returning
true or if there are unsatisfied constraints and the
IEvlContext.isShortCircuiting() flag is enabled, or if the specified module element has been annotated
with a termination criteria and an unsatisfied constraint containing the type is already present. |
Modifier and Type | Method and Description |
---|---|
boolean |
EvlContextParallel.shouldShortCircuit(Constraint constraint) |
Modifier and Type | Field and Description |
---|---|
protected Constraint |
ConstraintTraceItem.constraint |
Modifier and Type | Field and Description |
---|---|
protected Set<Constraint> |
ConstraintTrace.storageOptimised |
Modifier and Type | Method and Description |
---|---|
Constraint |
ConstraintTraceItem.getConstraint() |
Modifier and Type | Method and Description |
---|---|
void |
ConstraintTrace.addChecked(Constraint constraint,
Object object,
boolean result) |
void |
ConstraintTrace.addCheckedOptimised(Constraint constraint)
Indicates that this constraint was checked in an optimised manner, so
we only have the trace items for the invalid items and anything else
is considered checked and valid.
|
boolean |
ConstraintTrace.isChecked(Constraint constraint,
Object instance) |
boolean |
ConstraintTrace.isSatisfied(Constraint constraint,
Object instance) |
void |
ConstraintTraceItem.setConstraint(Constraint constraint) |
Constructor and Description |
---|
ConstraintTraceItem(Object instance,
Constraint constraint,
boolean result) |
Copyright © 2020. All rights reserved.