|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.softevo.ample.instrument.InstrumentationConfiguration
public class InstrumentationConfiguration
Configuration object that holds properties of the instrumentation.
Field Summary | |
---|---|
private int |
callAssociation
Indicates if calls are associated with the caller (outgoing calls) or the callee (incoming calls). |
private java.lang.String |
identityMapFileName
The name of the identity map file. |
private int |
level
The trace level to be used. |
private java.lang.String |
outputFileName
The name of the output file. |
private int |
windowSize
The window size to use. |
Fields inherited from interface org.softevo.ample.ui.IAmplePreferenceConstants |
---|
CALLS_INCOMING, CALLS_OUTGOING, KEY_LEVEL, KEY_PERSPECTIVE, KEY_TESTDURATION, KEY_WINDOWSIZE, LEVEL_CLASS, LEVEL_OBJECT, PREF_DURATION, PREF_LEVELS, PREF_PERSPECTIVES, PREF_WINDOWSIZES |
Constructor Summary | |
---|---|
InstrumentationConfiguration(int windowSize,
int level,
int callAssociation)
Creates a new configuration object. |
Method Summary | |
---|---|
int |
getCallAssociation()
Gets the call association from the config. |
java.lang.String |
getIdentityMapFileName()
Gets the name of the identity map file. |
int |
getLevel()
Gets the trace level. |
java.lang.String |
getOutputFileName()
Gets the name of the output file. |
int |
getWindowSize()
Gets the window size. |
boolean |
isClassLevel()
Tests if tracing shall be done on class leve. |
boolean |
isIncomingCalls()
Tests if incoming calls should be traced. |
boolean |
isObjectLevel()
Tests if tracing shall be done on object level. |
boolean |
isOutgoingCalls()
Tests if outgoing calls should be traced. |
void |
setIdentityMapFileName(java.lang.String identityMapFileName)
Sets the name of the identity map file. |
void |
setOutputFileName(java.lang.String outputFileName)
Sets the name of the output file. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int windowSize
private int level
private int callAssociation
private java.lang.String outputFileName
private java.lang.String identityMapFileName
Constructor Detail |
---|
public InstrumentationConfiguration(int windowSize, int level, int callAssociation)
windowSize
- the window sizelevel
- the level to trace on.callAssociation
- what calls are associated withoutputFileName
- the output fileidentityMapFileName
- the name of the identity map fileMethod Detail |
---|
public int getWindowSize()
public int getLevel()
public int getCallAssociation()
public boolean isIncomingCalls()
public boolean isOutgoingCalls()
public boolean isObjectLevel()
public boolean isClassLevel()
public java.lang.String getOutputFileName()
public java.lang.String getIdentityMapFileName()
public void setIdentityMapFileName(java.lang.String identityMapFileName)
public void setOutputFileName(java.lang.String outputFileName)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |