|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsota.IScheme
public class IScheme
This class provides an instrumentation scheme (IScheme). Every source file, class and function can be assigned one of the following instrumentation level:
Constructor Summary | |
---|---|
IScheme(java.lang.String name)
Instantiates a new IScheme with the given name. |
Method Summary | |
---|---|
void |
addInstrumentationLevel(java.lang.String idString,
int level)
Adds a new instrumentation level for a file, class or function to the level map. |
int |
compareTo(IScheme o)
(non-Javadoc) |
java.lang.String |
getDescription()
Returns the description. |
java.util.Set<java.lang.String> |
getInstrumentationIds()
Returns a set of all ID strings of the level map. |
int |
getInstrumentationLevel(java.lang.String idString)
Returns the instrumentation level of a file, class or function. |
java.util.HashMap<java.lang.String,java.lang.Integer> |
getLevelMap()
Returns the level map, a mapping from ID strings of files, classes and functions to an instrumentation level. |
java.lang.String |
getName()
Returns the name. |
boolean |
hasInstrumentationLevel(java.lang.String idString)
Tests whether the level map contains the ID string. |
void |
removeInstrumentierungsLevel(java.lang.String string)
Removes a mapping from the level map. |
void |
setDescription(java.lang.String description)
Sets a new description. |
void |
setLevelMap(java.util.HashMap<java.lang.String,java.lang.Integer> levelMap)
Sets a new level map. |
void |
setName(java.lang.String name)
Sets a new name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IScheme(java.lang.String name)
name
- the nameMethod Detail |
---|
public void addInstrumentationLevel(java.lang.String idString, int level)
idString
- the ID stringlevel
- the instrumentation level (0-3)public int compareTo(IScheme o)
compareTo
in interface java.lang.Comparable<IScheme>
Comparable.compareTo(java.lang.Object)
public java.lang.String getDescription()
public java.util.Set<java.lang.String> getInstrumentationIds()
public int getInstrumentationLevel(java.lang.String idString)
idString
- the ID string
public java.util.HashMap<java.lang.String,java.lang.Integer> getLevelMap()
public java.lang.String getName()
public boolean hasInstrumentationLevel(java.lang.String idString)
idString
- the ID string
public void removeInstrumentierungsLevel(java.lang.String string)
string
- the ID stringpublic void setDescription(java.lang.String description)
description
- the new descriptionpublic void setLevelMap(java.util.HashMap<java.lang.String,java.lang.Integer> levelMap)
levelMap
- the new level map.public void setName(java.lang.String name)
name
- the new name
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |