|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.monitor.api.TWGMonStringThresholdData
This is the TWGMonStringThresholdData class. This class is used as a container for the threshold string data needed between the monitor api and server.
Field Summary | |
---|---|
static byte |
ERROR_THRESHOLD
|
static byte |
NORMAL_THRESHOLD
|
static byte |
WARNING_THRESHOLD
|
Constructor Summary | |
---|---|
TWGMonStringThresholdData()
This is the constructor for manually building the StringThreshold |
|
TWGMonStringThresholdData(StringValueSet eStrSet,
StringValueSet wStrSet,
StringValueSet nStrSet)
This is the constructor for building a filled in StringThreshold |
Method Summary | |
---|---|
byte |
getDefaultStringType()
gets the default event type for strings that are not in any of the string sets contained in this object |
StringValueSet |
getErrorStrings()
returns a list of strings which make up the set of strings that will be checked to decide when an error state exists for a string threshold |
StringValueSet |
getNormalStrings()
returns a list of strings which make up the set of strings that will be checked to decide when a normal state exists for a string threshold |
StringValueSet |
getWarningStrings()
returns a list of strings which make up the set of strings that will be checked to decide when a warning state exists for a string threshold |
boolean |
isAcceptable()
returns indication if the data in the object would be acceptable to the server |
void |
setDefaultType(byte parm)
sets the default event type for strings that are not in any of the string sets contained in this object |
void |
setErrorStrings(StringValueSet strings)
method to set the threshold string set for error strings for a string threshold |
void |
setNormalStrings(StringValueSet strings)
method to set the threshold string set for normal strings for a string threshold |
void |
setWarningStrings(StringValueSet strings)
method to set the threshold string set for warning strings for a string threshold |
java.lang.String |
toString()
returns a string with debug information that represents the current state of the object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final byte ERROR_THRESHOLD
public static final byte WARNING_THRESHOLD
public static final byte NORMAL_THRESHOLD
Constructor Detail |
public TWGMonStringThresholdData()
public TWGMonStringThresholdData(StringValueSet eStrSet, StringValueSet wStrSet, StringValueSet nStrSet)
eStrSet
- high error string setwStrSet
- high warning string setnStrSet
- normal state string setMethod Detail |
public void setDefaultType(byte parm)
parm
- value indicating the type of string threshold event to generate for unknown strings
it must be set to one of the constant values specified in this classpublic void setErrorStrings(StringValueSet strings)
strings
- the threshold string setpublic void setWarningStrings(StringValueSet strings)
strings
- the threshold string setpublic void setNormalStrings(StringValueSet strings)
strings
- the threshold string setpublic byte getDefaultStringType()
public StringValueSet getErrorStrings()
public StringValueSet getWarningStrings()
public StringValueSet getNormalStrings()
public boolean isAcceptable()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |