public final class ExecutionData extends Object
boolean[]
which can be modified.| Constructor and Description |
|---|
ExecutionData(long id,
String name,
boolean[] data)
Creates a new
ExecutionData object with the given probe data. |
ExecutionData(long id,
String name,
int dataLength)
Creates a new
ExecutionData object with the given probe data
length. |
| Modifier and Type | Method and Description |
|---|---|
void |
assertCompatibility(long id,
String name,
int dataLength)
Asserts that this execution data object is compatible with the given
parameters.
|
boolean[] |
getData()
Returns the execution data probes.
|
long |
getId()
Return the unique identifier for this class.
|
String |
getName()
The VM name of the class.
|
void |
merge(ExecutionData other)
Merges the given execution data into the probe data of this object.
|
void |
reset()
Sets all probe data entries to
false. |
String |
toString() |
public ExecutionData(long id,
String name,
boolean[] data)
ExecutionData object with the given probe data.id - class identifiername - VM namedata - probe datapublic ExecutionData(long id,
String name,
int dataLength)
ExecutionData object with the given probe data
length. All probes are set to false.id - class identifiername - VM namedataLength - probe data lengthpublic long getId()
public String getName()
public boolean[] getData()
true indicates
that the corresponding probe was executed.public void reset()
false.public void merge(ExecutionData other)
true) if
this probe or the corresponding other probe was executed. The probe array
of the other object is not modified.other - public void assertCompatibility(long id,
String name,
int dataLength)
throws IllegalStateException
id - other class id, must be the samename - other name, must be equal to this namedataLength - probe data length, must be the same as for this dataIllegalStateException - if the given parameters do not match this instanceCopyright © 2009-2012 Mountainminds GmbH & Co. KG. All Rights Reserved.