|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.monitor.TWGMonAttributePath
This is the TWGAttributePath class. This class encapsulates path information for monitoring requests
Field Summary | |
---|---|
static int |
CURRENT_PATH_VERSION
|
static java.lang.String |
PATH_SEPERATOR
|
Constructor Summary | |
---|---|
TWGMonAttributePath()
This is the constructor for building the object |
|
TWGMonAttributePath(IntelByteBuffer iBuf)
|
|
TWGMonAttributePath(java.lang.String[] pathInfo)
This is the constructor for building the object from a string array |
Method Summary | |
---|---|
TWGMonAttributePath |
addLevelToPath(java.lang.String pathPoint)
Used to add level to the end of the path |
java.lang.Object |
clone()
Returns a clone of this attribute path. |
boolean |
containsPath(TWGMonAttributePath testRoot)
compare the value of this path with another path |
boolean |
equals(TWGMonAttributePath that)
Compare the value of this path with another path |
int |
getIntelByteBufferSize()
Determines the IntelByteBuffer size requirment for the passed in AttributePath |
java.lang.String |
getPathAtLevel(int levelRequested)
Get the path string for the level requested |
int |
getPathLevels()
get the number of levels in the path |
java.lang.String[] |
getPathText()
Returns path text as array of strings.. |
boolean |
hasRootPath(TWGMonAttributePath testRoot)
compare the value of this path with another path |
static java.lang.String |
replaceChars(java.lang.String outStr)
Returns path text as a dotted string with filesystem restricted chars removed |
TWGMonAttributePath |
replicate()
Returns a clone of this attribute path. |
java.lang.String |
toDottedString()
Returns path text as a dotted string |
java.lang.String |
toFileName()
Returns path text as a dotted string suitable for a file name |
java.lang.String |
toString()
get the path for debugging purposes |
java.lang.String |
toString(int levels)
Return a String containing the requested path levels, each inclosed in brackets |
IntelByteBuffer |
writeIntelByteBuffer(IntelByteBuffer iBuf)
Writes the class variables out to the passed in IntelByteBuffer This is for sever persistant storage usage. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CURRENT_PATH_VERSION
public static final java.lang.String PATH_SEPERATOR
Constructor Detail |
public TWGMonAttributePath()
public TWGMonAttributePath(java.lang.String[] pathInfo)
pathInfo
- array of strings that define the path informationpublic TWGMonAttributePath(IntelByteBuffer iBuf)
Method Detail |
public int getIntelByteBufferSize()
public IntelByteBuffer writeIntelByteBuffer(IntelByteBuffer iBuf)
iBuf
- byte buffer to save the state of the object in
public TWGMonAttributePath addLevelToPath(java.lang.String pathPoint)
pathPoint
- adds the next level to the path already contained in the object
public int getPathLevels()
public java.lang.String getPathAtLevel(int levelRequested)
levelRequested
- get the part of path that is levelRequested step into the path
public boolean equals(TWGMonAttributePath that)
that
- the path to check equality with
public boolean hasRootPath(TWGMonAttributePath testRoot)
testRoot
- the path to check if it is a subroot of this path
public boolean containsPath(TWGMonAttributePath testRoot)
testRoot
- the path to check if it is a subroot of this path
public java.lang.String toString()
public java.lang.String toString(int levels)
levels
- the number of levels returned. If positive the first of those levels,
if negative, the last of the specified count of levels.
public TWGMonAttributePath replicate()
public java.lang.Object clone()
public java.lang.String[] getPathText()
public java.lang.String toFileName()
public java.lang.String toDottedString()
public static java.lang.String replaceChars(java.lang.String outStr)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |