org.jbehave.core.parser
Class StoryClassNameFinder

java.lang.Object
  extended by org.jbehave.core.parser.StoryClassNameFinder

public class StoryClassNameFinder
extends Object

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

Author:
Mauro Talevi

Constructor Summary
StoryClassNameFinder()
           
 
Method Summary
 List<String> listStoryClassNames(String basedir, String rootPath, List<String> includes, List<String> excludes)
          Lists story 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

StoryClassNameFinder

public StoryClassNameFinder()
Method Detail

listStoryClassNames

public List<String> listStoryClassNames(String basedir,
                                        String rootPath,
                                        List<String> includes,
                                        List<String> excludes)
Lists story 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.