|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.monitor.api.TWGMonPath
This is the TWGMonPath class. This class encapsulates path information for monitoring requests example of usage:
// create the object TWGMonPath realPath = new TWGMonPath(); // add 2 levels to the path real.AddLevel("Director Agent"); real.AddLevel("MONCPU");
Constructor Summary | |
---|---|
TWGMonPath()
This is the constructor for building the object |
Method Summary | |
---|---|
TWGMonPath |
addLevel(java.lang.String pathMember)
Used to add a level to the end of the path |
java.lang.Object |
clone()
Returns a clone of this attribute path. |
boolean |
equals(TWGMonPath that)
Compare the value of this path with another path |
java.lang.String |
getLevel(int level)
Get the path string for the level requested |
int |
getLevels()
get the number of levels in the path |
java.util.Locale |
getLocale()
get the locale for the path. |
void |
setLocale(java.util.Locale locale)
Set the locale string for the path from a Locale object |
void |
setLocale(java.lang.String localeStr)
Deprecated. replaced by setLocale(Locale) |
java.lang.String |
toString()
get the path for debugging purposes |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGMonPath()
Method Detail |
public TWGMonPath addLevel(java.lang.String pathMember)
pathMember
- adds the next level to the path already contained in the object
public int getLevels()
public java.lang.String getLevel(int level)
level
- get the requested path level
public java.lang.Object clone()
public boolean equals(TWGMonPath that)
that
- the path to check equality with
public void setLocale(java.lang.String localeStr)
public void setLocale(java.util.Locale locale)
locale
- the locale to setpublic java.util.Locale getLocale()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |