Class TreePruner

Direct Known Subclasses:
NamedPathPruner, TreePruner.ByDepth

public abstract class TreePruner extends Object
Controls the portion of the object graph to be written to DataWriter.
Kohsuke Kawaguchi
See Also:
  • Field Details


      public static final TreePruner DEFAULT
      Probably the most common TreePruner that just visits the top object and its properties, but none of the referenced objects.
  • Constructor Details

    • TreePruner

      public TreePruner()
  • Method Details

    • accept

      public abstract TreePruner accept(Object node, Property prop)
      Called before Hudson writes a new property.
      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.
    • getRange

      public Range getRange()