Class MojoExecutionStub
java.lang.Object
org.apache.maven.api.plugin.testing.stubs.MojoExecutionStub
- All Implemented Interfaces:
org.apache.maven.api.MojoExecution
Stub for
MojoExecution
.-
Constructor Summary
ConstructorDescriptionMojoExecutionStub
(String executionId, String goal) MojoExecutionStub
(String executionId, String goal, org.apache.maven.api.xml.XmlNode dom) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apache.maven.api.xml.XmlNode>
org.apache.maven.api.plugin.descriptor.MojoDescriptor
getGoal()
org.apache.maven.api.model.PluginExecution
getModel()
org.apache.maven.api.Plugin
void
setDescriptor
(org.apache.maven.api.plugin.descriptor.MojoDescriptor descriptor) void
setDom
(org.apache.maven.api.xml.XmlNode dom) void
setExecutionId
(String executionId) void
void
setLifecyclePhase
(String lifecyclePhase) void
setModel
(org.apache.maven.api.model.PluginExecution model) void
setPlugin
(org.apache.maven.api.Plugin plugin)
-
Constructor Details
-
MojoExecutionStub
-
MojoExecutionStub
-
-
Method Details
-
getPlugin
public org.apache.maven.api.Plugin getPlugin()- Specified by:
getPlugin
in interfaceorg.apache.maven.api.MojoExecution
-
getModel
public org.apache.maven.api.model.PluginExecution getModel()- Specified by:
getModel
in interfaceorg.apache.maven.api.MojoExecution
-
getDescriptor
public org.apache.maven.api.plugin.descriptor.MojoDescriptor getDescriptor()- Specified by:
getDescriptor
in interfaceorg.apache.maven.api.MojoExecution
-
getLifecyclePhase
- Specified by:
getLifecyclePhase
in interfaceorg.apache.maven.api.MojoExecution
-
getExecutionId
- Specified by:
getExecutionId
in interfaceorg.apache.maven.api.MojoExecution
-
getGoal
- Specified by:
getGoal
in interfaceorg.apache.maven.api.MojoExecution
-
getConfiguration
- Specified by:
getConfiguration
in interfaceorg.apache.maven.api.MojoExecution
-
setExecutionId
-
setGoal
-
setDom
public void setDom(org.apache.maven.api.xml.XmlNode dom) -
setPlugin
public void setPlugin(org.apache.maven.api.Plugin plugin) -
setModel
public void setModel(org.apache.maven.api.model.PluginExecution model) -
setDescriptor
public void setDescriptor(org.apache.maven.api.plugin.descriptor.MojoDescriptor descriptor) -
setLifecyclePhase
-