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
-
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
-
Method Summary
Modifier and TypeMethodDescriptionCalled before Hudson writes a new property.Methods inherited from class org.kohsuke.stapler.export.TreePruner
getRange
-
Constructor Details
-
ByDepth
public ByDepth(int n)
-
-
Method Details
-
accept
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.
-