public static class TraceOptions.TraceFlag extends Object
Constructor and Description |
---|
TraceFlag(Element traceFlag,
int idx)
Constructs a AE Traceflag from the given Element.
|
TraceFlag(int idx,
int val,
String txt,
String des)
Constructs a AE Traceflag with the passed attributes.
|
TraceFlag(int idx,
int val,
String txt,
String des,
int min,
int max)
Constructs a AE Traceflag with the passed attributes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
get the trace flag description
|
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.
|
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, String txt, 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, String txt, 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(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 String getText()
public String getDescription()
public int getMinimum()
public int getMaximum()
public String getDescriptionForTraceFlagValue(int traceFlagValue)
traceFlagValue
- number between 0 and 9 (inclusive).Copyright © 2021. All rights reserved.