|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.ItemVisitor
public abstract class ItemVisitor
Walks the tree structure that consists of ItemGroup
and Item
.
Constructor Summary | |
---|---|
ItemVisitor()
|
Method Summary | |
---|---|
void |
onItem(Item i)
Visits an Item . |
void |
onItemGroup(ItemGroup<?> group)
Visits an ItemGroup by visits the member items. |
void |
walk()
Visits the entire tree rooted at Hudson.getInstance() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ItemVisitor()
Method Detail |
---|
public void onItemGroup(ItemGroup<?> group)
ItemGroup
by visits the member items.
public void onItem(Item i)
Item
. If it is a group,
visits the children.
public final void walk()
Hudson.getInstance()
.
To walk a subtree, call onItemGroup(ItemGroup)
or onItem(Item)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |