public final class NamedPathPruner extends TreePrunerTree pruner which operates according to a textual description of what tree leaves should be included.
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
accept(Object node, Property prop)Called before Hudson writes a new property.
public NamedPathPruner(String spec) throws IllegalArgumentExceptionConstructs a pruner by parsing a textual specification. This lists the properties which should be included at each level of the hierarchy. Properties are separated by commas and nested objects are inside square braces. For example,
a,b[c,d]will emit the top-level property
abut none of its children, and the top-level property
band only those of its children named
spec- textual specification of tree
IllegalArgumentException- if the syntax is incorrect
public TreePruner accept(Object node, Property prop)Description copied from class:
TreePrunerCalled before Hudson writes a new property.