org.apache.commons.betwixt.strategy
Interface ElementSuppressionStrategy


public interface ElementSuppressionStrategy

Strategy to determine whether to show an element at all.

Since:
0.8

Field Summary
static ElementSuppressionStrategy DEFAULT
          Default strategy: show all elements.
 
Method Summary
 boolean suppress(ElementDescriptor descriptor)
          Should the element described as given be suppressed?
 

Field Detail

DEFAULT

static final ElementSuppressionStrategy DEFAULT
Default strategy: show all elements.

Method Detail

suppress

boolean suppress(ElementDescriptor descriptor)
Should the element described as given be suppressed?

Parameters:
descriptor - ElementDescriptor, not null
Returns:
true if the desciptor should be ignored during introspection, false otherwise


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.