Package org.eclipse.epsilon.evl.trace
Class ConstraintTrace
java.lang.Object
org.eclipse.epsilon.evl.trace.ConstraintTrace
- All Implemented Interfaces:
Iterable<ConstraintTraceItem>
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected final Map<Object,
Set<ConstraintTraceItem>> protected final Set<Constraint>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(Collection<? extends ConstraintTrace> others) void
addAll
(ConstraintTrace... others) void
addChecked
(Constraint constraint, Object object, boolean result) void
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.void
clear()
boolean
getItems()
int
hashCode()
boolean
isChecked
(Constraint constraint, Object instance) boolean
isSatisfied
(Constraint constraint, Object instance) iterator()
stream()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
storageOptimised
-
objectItemsMap
-
concurrent
protected boolean concurrent
-
-
Constructor Details
-
ConstraintTrace
public ConstraintTrace() -
ConstraintTrace
public ConstraintTrace(boolean concurrent) - Parameters:
concurrent
-- Since:
- 1.6
-
-
Method Details
-
addAll
- Parameters:
others
-- Since:
- 1.6
-
addAll
- Parameters:
others
-- Since:
- 1.6
-
addCheckedOptimised
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. -
addChecked
-
isChecked
-
isSatisfied
-
clear
public void clear()- Since:
- 1.6
-
getItems
-
stream
- Returns:
- Since:
- 1.6
-
iterator
- Specified by:
iterator
in interfaceIterable<ConstraintTraceItem>
-
hashCode
public int hashCode() -
equals
-