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
  • Constructor Details

    • ByDepth

      public ByDepth(int n)
  • Method Details

    • accept

      public TreePruner accept(Object node, Property prop)
      Description copied from class: TreePruner
      Called before Hudson writes a new property.
      Specified by:
      accept in class TreePruner
      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.