|
JNodeOS v1.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.utah.janos.nodeos.InfoHook
A little class used for exporting information about state, data, etc...
XXX ideally, most of this status stuff should be external to the nodeos core package.
Field Summary | |
protected java.util.Hashtable |
children
An InfoHook can have a set of children, allowing the user to narrow their choices based on a certain child. |
Constructor Summary | |
InfoHook(java.lang.String name)
Constructor that sets the hook's name |
Method Summary | |
void |
addChild(InfoHook ih)
Add a child InfoHook to this hook |
InfoHook |
findChild(java.lang.String name)
Find a child with the given name. |
java.lang.String[] |
getChildList()
Return a string array listing the names of the children |
java.lang.String[] |
getInfo()
This returns an array of strings that report whatever information is interesting... |
java.lang.String |
getName()
Get the name for this hook |
void |
remChild(java.lang.String name)
Remove a child InfoHook |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.util.Hashtable children
Constructor Detail |
public InfoHook(java.lang.String name)
Method Detail |
public final java.lang.String getName()
public final InfoHook findChild(java.lang.String name)
public final void addChild(InfoHook ih)
public final void remChild(java.lang.String name)
public java.lang.String[] getChildList()
public java.lang.String[] getInfo()
|
JNodeOS v1.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |