|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.able.beans.fuzzy.FsTrace
This class defines the Fuzzy System 'Trace' object.
Version Description -------- ----------- 1.0.0 Initial release.
Constructor Summary | |
FsTrace()
Create a new fuzzy trace object. |
Method Summary | |
void |
clearLog()
Clear the batch trace log. |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
void |
dumpLog()
Dump the batch trace log to the Java console. |
java.util.Vector |
getLog()
Retrieve the batch trace log. |
boolean |
isActive()
Determine whether tracing is active. |
void |
logTrace(java.lang.String theTraceMsg)
Log a trace message. |
void |
setActive(boolean theTraceFlag)
Enable or disable tracing. |
void |
setBatch(boolean theBatchFlag)
Enable or disable batch tracing. |
java.lang.String |
toString()
Retrieve a string describing (the contents of) the object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public FsTrace()
Method Detail |
public void setActive(boolean theTraceFlag)
theTraceFlag
- Use true to enable tracing.
Use false to disable tracing.
public boolean isActive()
public void setBatch(boolean theBatchFlag)
theBatchFlag
- Use true to enable tracing.
Use false to disable tracing.
getLog()
,
dumpLog()
public void logTrace(java.lang.String theTraceMsg)
If batch tracing is active, the trace message is stored internally in a Vector, which may be retrieved later, or dumped to the Java console.
If batch tracing is not active, the trace message is written out to the Java console using System.out.println().
theTraceMsg
- Any Java String object.
getLog()
,
dumpLog()
public void clearLog()
public java.util.Vector getLog()
public void dumpLog()
public java.lang.String toString()
public static java.lang.String Copyright()
|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |