org.jbehave.scenario.parser
Class ScenarioClassNameFinder

java.lang.Object
  extended by org.jbehave.scenario.parser.ScenarioClassNameFinder

public class ScenarioClassNameFinder
extends java.lang.Object

Finds scenario class names from a base directory using Ant's directory scanner.

Author:
Mauro Talevi

Constructor Summary
ScenarioClassNameFinder()
           
 
Method Summary
 java.util.List<java.lang.String> listScenarioClassNames(java.lang.String basedir, java.lang.String rootPath, java.util.List<java.lang.String> includes, java.util.List<java.lang.String> excludes)
          Lists scenario class names from a base directory, allowing for includes/excludes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScenarioClassNameFinder

public ScenarioClassNameFinder()
Method Detail

listScenarioClassNames

public java.util.List<java.lang.String> listScenarioClassNames(java.lang.String basedir,
                                                               java.lang.String rootPath,
                                                               java.util.List<java.lang.String> includes,
                                                               java.util.List<java.lang.String> excludes)
Lists scenario class names from a base directory, allowing for includes/excludes

Parameters:
basedir - the base directory path
rootPath - the root path prefixed to all paths found, or null if none
includes - the List of include patterns, or null if none
excludes - the List of exclude patterns, or null if none
Returns:
A List of paths


Copyright © 2003-2010. All Rights Reserved.