Package org.kohsuke.stapler.export
Class TreePruner.ByDepth
- java.lang.Object
-
- org.kohsuke.stapler.export.TreePruner
-
- org.kohsuke.stapler.export.TreePruner.ByDepth
-
- Enclosing class:
- TreePruner
public static class TreePruner.ByDepth extends TreePruner
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kohsuke.stapler.export.TreePruner
TreePruner.ByDepth
-
-
Field Summary
-
Fields inherited from class org.kohsuke.stapler.export.TreePruner
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description ByDepth(int n)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreePruner
accept(Object node, Property prop)
Called before Hudson writes a new property.-
Methods inherited from class org.kohsuke.stapler.export.TreePruner
getRange
-
-
-
-
Method Detail
-
accept
public TreePruner accept(Object node, Property prop)
Description copied from class:TreePruner
Called before Hudson writes a new property.- Specified by:
accept
in classTreePruner
- Returns:
- null if this property shouldn't be written. Otherwise the returned
TreePruner
object will be consulted to determine properties of the child object in turn.
-
-