public final class Execution
extends java.lang.Object
This is essentially a wrapper around List<ExecutionOutcome>. Stores information in a
list of ExecutionOutcome objects, one for each statement in the sequence.
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.Class<?>> |
coveredClasses |
(package private) java.util.List<ExecutionOutcome> |
outcomes |
| Constructor and Description |
|---|
Execution(Sequence owner)
Create an Execution to store the execution results of the given sequence.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addCoveredClass(java.lang.Class<?> c) |
ExecutionOutcome |
get(int i)
Get the outcome in the i-th slot.
|
(package private) java.util.Set<java.lang.Class<?>> |
getCoveredClasses() |
int |
size()
The size of the list.
|
final java.util.List<ExecutionOutcome> outcomes
private java.util.Set<java.lang.Class<?>> coveredClasses
public Execution(Sequence owner)
owner - the executed sequencepublic int size()
public ExecutionOutcome get(int i)
i - the statement positionvoid addCoveredClass(java.lang.Class<?> c)
java.util.Set<java.lang.Class<?>> getCoveredClasses()