Package com.github.searls.jasmine.mojo
Class AbstractJasmineMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.github.searls.jasmine.mojo.AbstractJasmineMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
ServerMojo,TestMojo
public abstract class AbstractJasmineMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCUSTOM_RUNNER_CONFIGURATION_PARAMprotected static StringCUSTOM_RUNNER_TEMPLATE_PARAM
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute()protected org.apache.maven.project.MavenProjectgetMavenProject()protected abstract voidrun(ServerConfiguration serverConfiguration, JasmineConfiguration jasmineConfiguration)
-
-
-
Field Detail
-
CUSTOM_RUNNER_CONFIGURATION_PARAM
protected static final String CUSTOM_RUNNER_CONFIGURATION_PARAM
- See Also:
- Constant Field Values
-
CUSTOM_RUNNER_TEMPLATE_PARAM
protected static final String CUSTOM_RUNNER_TEMPLATE_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getMavenProject
protected final org.apache.maven.project.MavenProject getMavenProject()
-
run
protected abstract void run(ServerConfiguration serverConfiguration, JasmineConfiguration jasmineConfiguration) throws Exception
- Throws:
Exception
-
-