Package org.kohsuke.stapler.export
Class TreePruner
java.lang.Object
org.kohsuke.stapler.export.TreePruner
- Direct Known Subclasses:
NamedPathPruner
,TreePruner.ByDepth
Controls the portion of the object graph to be written to
DataWriter
.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TreePruner
Probably the most commonTreePruner
that just visits the top object and its properties, but none of the referenced objects. -
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT
Probably the most commonTreePruner
that just visits the top object and its properties, but none of the referenced objects.
-
-
Constructor Details
-
TreePruner
public TreePruner()
-
-
Method Details
-
accept
Called before Hudson writes a new property.- 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.
-
getRange
-