|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.stapler.export.TreePruner
org.kohsuke.stapler.export.NamedPathPruner
public final class NamedPathPruner
Tree pruner which operates according to a textual description of what tree leaves should be included.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.kohsuke.stapler.export.TreePruner |
|---|
TreePruner.ByDepth |
| Constructor Summary | |
|---|---|
NamedPathPruner(java.lang.String spec)
Constructs a pruner by parsing a textual specification. |
|
| Method Summary | |
|---|---|
TreePruner |
accept(java.lang.Object node,
Property prop)
Called before Hudson writes a new property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamedPathPruner(java.lang.String spec)
throws java.lang.IllegalArgumentException
a,b[c,d] will emit the top-level property a but
none of its children, and the top-level property b and only those
of its children named c and d.
spec - textual specification of tree
java.lang.IllegalArgumentException - if the syntax is incorrect| Method Detail |
|---|
public TreePruner accept(java.lang.Object node,
Property prop)
TreePruner
accept in class TreePrunerTreePruner object
will be consulted to determine properties of the child object in turn.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||