org.kohsuke.stapler.export
Class TreePruner.ByDepth

java.lang.Object
  extended by org.kohsuke.stapler.export.TreePruner
      extended by org.kohsuke.stapler.export.TreePruner.ByDepth
Enclosing class:
TreePruner

public static class TreePruner.ByDepth
extends TreePruner


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kohsuke.stapler.export.TreePruner
TreePruner.ByDepth
 
Constructor Summary
TreePruner.ByDepth(int n)
           
 
Method Summary
 TreePruner accept(java.lang.Object node, Property prop)
          Called before Hudson writes a new property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreePruner.ByDepth

public TreePruner.ByDepth(int n)
Method Detail

accept

public TreePruner accept(java.lang.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.


Copyright © 2012. All Rights Reserved.