Class TreePruner.ByDepth

    • Constructor Detail

      • ByDepth

        public ByDepth​(int n)
    • 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 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.