sota
Class GlobalIScheme

java.lang.Object
  extended by sota.IScheme
      extended by sota.GlobalIScheme
All Implemented Interfaces:
java.lang.Comparable<IScheme>

public class GlobalIScheme
extends IScheme

This class provides a global instrumentation scheme. Following levels may be chosen:


Constructor Summary
GlobalIScheme(java.lang.String name, int level)
          Instantiates a new GlobalIScheme with the given name and level.
 
Method Summary
 int getInstrumentationLevel()
          Returns the global instrumentation level.
 int getInstrumentationLevel(java.lang.String idString)
          Returns the instrumentation level for an ID.
 
Methods inherited from class sota.IScheme
addInstrumentationLevel, compareTo, getDescription, getInstrumentationIds, getLevelMap, getName, hasInstrumentationLevel, removeInstrumentierungsLevel, setDescription, setLevelMap, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalIScheme

public GlobalIScheme(java.lang.String name,
                     int level)
Instantiates a new GlobalIScheme with the given name and level.

Parameters:
name - the name
level - the global instrumentation level (1-3)
Method Detail

getInstrumentationLevel

public int getInstrumentationLevel()
Returns the global instrumentation level.

Returns:
the global instrumentation level

getInstrumentationLevel

public int getInstrumentationLevel(java.lang.String idString)
Returns the instrumentation level for an ID.

Overrides:
getInstrumentationLevel in class IScheme
Parameters:
idString - the ID of the file, class or function
Returns:
the global instrumentation level