Package hudson.model
Class ItemVisitor
- java.lang.Object
-
- hudson.model.ItemVisitor
-
public abstract class ItemVisitor extends Object
- Since:
- 1.402
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description ItemVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onItem(Item i)
Visits anItem
.void
onItemGroup(ItemGroup<?> group)
Visits anItemGroup
by visits the member items.void
walk()
Visits the entire tree rooted atHudson.getInstance()
.
-
-
-
Method Detail
-
onItemGroup
public void onItemGroup(ItemGroup<?> group)
Visits anItemGroup
by visits the member items.
-
walk
public final void walk()
Visits the entire tree rooted atHudson.getInstance()
.To walk a subtree, call
onItemGroup(ItemGroup)
oronItem(Item)
-
-