org.jbehave.mojo
Class AbstractScenarioMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jbehave.mojo.AbstractScenarioMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ScenarioRunnerMojo, StepdocMojo

public abstract class AbstractScenarioMojo
extends org.apache.maven.plugin.AbstractMojo

Abstract mojo that holds all the configuration parameters to specify and load scenarios.

Author:
Mauro Talevi

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractScenarioMojo()
           
 
Method Summary
protected  java.util.List<org.jbehave.scenario.RunnableScenario> scenarios()
          Returns the list of scenario instances, whose class names are either specified via the parameter "scenarioClassNames" (which takes precedence) or found using the parameters "scenarioIncludes" and "scenarioExcludes".
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Constructor Detail

AbstractScenarioMojo

public AbstractScenarioMojo()
Method Detail

scenarios

protected java.util.List<org.jbehave.scenario.RunnableScenario> scenarios()
                                                                   throws org.apache.maven.plugin.MojoExecutionException
Returns the list of scenario instances, whose class names are either specified via the parameter "scenarioClassNames" (which takes precedence) or found using the parameters "scenarioIncludes" and "scenarioExcludes".

Returns:
A List of Scenarios
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2003-2009. All Rights Reserved.