org.jbehave.mojo
Class AbstractEmbedderMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jbehave.mojo.AbstractEmbedderMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- GenerateStoriesView, ReportStepdocs, RunStoriesAsEmbeddables, RunStoriesAsPaths, RunStoriesWithAnnotatedEmbedderRunner
public abstract class AbstractEmbedderMojo
- extends org.apache.maven.plugin.AbstractMojo
Abstract mojo that holds all the configuration parameters to specify and load
stories.
- Author:
- Mauro Talevi
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
annotatedEmbedderRunnerClass
protected String annotatedEmbedderRunnerClass
- The annotated embedder runner class
AbstractEmbedderMojo
public AbstractEmbedderMojo()
createClassLoader
protected EmbedderClassLoader createClassLoader()
- Creates the EmbedderClassLoader with the classpath element of the
selected scope
- Returns:
- A EmbedderClassLoader
storyPaths
protected List<String> storyPaths()
classNames
protected List<String> classNames()
newEmbedder
protected Embedder newEmbedder()
- Creates an instance of Embedder, either using
injectableEmbedderClass
(if set) or defaulting to
embedderClass
.
- Returns:
- An Embedder
embedderMonitor
protected EmbedderMonitor embedderMonitor()
embedderControls
protected EmbedderControls embedderControls()
Copyright © 2003-2010. All Rights Reserved.