org.jbehave.mojo
Class AbstractScenarioMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected boolean |
ignoreFailure()
Indicates if failure should be ignored |
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". |
protected boolean |
skipScenarios()
Indicates if scenarios should be skipped |
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 |
AbstractScenarioMojo
public AbstractScenarioMojo()
ignoreFailure
protected boolean ignoreFailure()
- Indicates if failure should be ignored
- Returns:
- A boolean flag,
true
if failure should be ignored
skipScenarios
protected boolean skipScenarios()
- Indicates if scenarios should be skipped
- Returns:
- A boolean flag,
true
if scenarios are skipped
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-2010. All Rights Reserved.