org.jbehave.core.embedder
Class MetaFilter

java.lang.Object
  extended by org.jbehave.core.embedder.MetaFilter

public class MetaFilter
extends Object

Allows filtering on meta info.

Filters are represented as a sequence of any name-value properties (separated by a space), prefixed by "+" for inclusion and "-" for exclusion. E.g.:

 new Filter("+author Mauro -theme smoke testing +map *API -skip")
 


Field Summary
static MetaFilter EMPTY
           
 
Constructor Summary
MetaFilter()
           
MetaFilter(String filterAsString)
           
MetaFilter(String filterAsString, EmbedderMonitor monitor)
           
 
Method Summary
 boolean allow(Meta meta)
           
 String asString()
           
 Properties exclude()
           
 Properties include()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY

public static final MetaFilter EMPTY
Constructor Detail

MetaFilter

public MetaFilter()

MetaFilter

public MetaFilter(String filterAsString)

MetaFilter

public MetaFilter(String filterAsString,
                  EmbedderMonitor monitor)
Method Detail

allow

public boolean allow(Meta meta)

include

public Properties include()

exclude

public Properties exclude()

asString

public String asString()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2011. All Rights Reserved.