|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.base.TraceRequester
This class defines a trace requester or component for the trace system.
Field Summary | |
protected boolean |
enable
The component's state |
protected int |
traceLevel
The component's level |
protected int |
traceType
The component's type |
Constructor Summary | |
TraceRequester()
This constructor creates a TraceRequester object. |
|
TraceRequester(boolean state,
int type,
int level)
This constructor creates a TraceRequester object. |
Method Summary | |
boolean |
getEnable()
Returns the value of the enable property. |
int |
getTraceLevel()
Returns the value of the traceLevel property. |
int |
getTraceType()
Returns the value of the traceType property. |
boolean |
isLevelEnabled(int level)
Returns true if the specified level is enabled. |
boolean |
isTypeEnabled(int type)
Returns true if the specified type is enabled. |
void |
setEnable(boolean newValue)
Sets the value of the enable property. |
void |
setTraceLevel(int newValue)
Sets the value of the traceLevel property. |
void |
setTraceType(int newValue)
Sets the value of the traceType property. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected boolean enable
protected int traceType
protected int traceLevel
Constructor Detail |
public TraceRequester()
public TraceRequester(boolean state, int type, int level)
state
- boolean The state of componenttype
- int The typelevel
- int The levelMethod Detail |
public boolean getEnable()
public int getTraceLevel()
public int getTraceType()
public boolean isLevelEnabled(int level)
level
- int The levelpublic boolean isTypeEnabled(int type)
type
- int The typepublic void setEnable(boolean newValue)
newValue
- boolean The new value of the property.public void setTraceLevel(int newValue)
newValue
- int The new value of the property.public void setTraceType(int newValue)
newValue
- int The new value of the property.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |