public static class TraceOptions.TraceFlag
extends java.lang.Object
Constructor and Description |
---|
TraceFlag(org.w3c.dom.Element traceFlag,
int idx)
Constructs a AE Traceflag from the given Element.
|
TraceFlag(int idx,
int val,
java.lang.String txt,
java.lang.String des)
Constructs a AE Traceflag with the passed attributes.
|
TraceFlag(int idx,
int val,
java.lang.String txt,
java.lang.String des,
int min,
int max)
Constructs a AE Traceflag with the passed attributes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
get the trace flag description
|
java.lang.String |
getDescriptionForTraceFlagValue(int traceFlagValue)
Fetches the description for the given traceflag value.
|
int |
getIndex()
get the trace flag index
|
int |
getMaximum()
Returns the maximum allowed traceflag value for this trace flag.
|
int |
getMinimum()
Returns the minimum allowed traceflag value for this trace flag.
|
java.lang.String |
getText()
get the trace flag text information
|
int |
getValue()
Gets the trace flag value.
|
int |
hashCode() |
void |
setValue(int val)
Set the trace flag value.
|
public TraceFlag(int idx, int val, java.lang.String txt, java.lang.String des)
idx
- the index of this trace flag. Number between 0 and 15 (inclusive).val
- the current traceflag value. Number between 0 and 9 (inclusive).txt
- the general description of this traceflag.des
- the description of the traceflag values for this traceflag.public TraceFlag(int idx, int val, java.lang.String txt, java.lang.String des, int min, int max)
idx
- the index of this trace flag. Number between 0 and 15 (inclusive).val
- the current traceflag value. Number between 0 and 9 (inclusive).txt
- the general description of this traceflag.des
- the description of the traceflag values supported by this traceflag.min
- the minimum allowed traceflag value. Number between 0 and 9 (inclusive). Number lower than the max parameter.max
- the maximum allowed traceflag value. Number between 0 and 9 (inclusive). Number greater than the min parameter.public TraceFlag(org.w3c.dom.Element traceFlag, int idx)
traceFlag
- Element containing the definition for this traceflag.idx
- the index of this trace flag. Number between 0 and 15 (inclusive).public int getIndex()
public void setValue(int val)
val
- Level between 0 and 9public int getValue()
public java.lang.String getText()
public java.lang.String getDescription()
public int getMinimum()
public int getMaximum()
public java.lang.String getDescriptionForTraceFlagValue(int traceFlagValue)
traceFlagValue
- number between 0 and 9 (inclusive).public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object