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
ConstructorsConstructorDescriptionMojoExecutionStub(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.MojoDescriptorgetGoal()org.apache.maven.api.model.PluginExecutiongetModel()org.apache.maven.api.PluginvoidsetDescriptor(org.apache.maven.api.plugin.descriptor.MojoDescriptor descriptor) voidsetDom(org.apache.maven.api.xml.XmlNode dom) voidsetExecutionId(String executionId) voidvoidsetLifecyclePhase(String lifecyclePhase) voidsetModel(org.apache.maven.api.model.PluginExecution model) voidsetPlugin(org.apache.maven.api.Plugin plugin)
-
Constructor Details
-
MojoExecutionStub
-
MojoExecutionStub
-
-
Method Details
-
getPlugin
public org.apache.maven.api.Plugin getPlugin()- Specified by:
getPluginin interfaceorg.apache.maven.api.MojoExecution
-
getModel
public org.apache.maven.api.model.PluginExecution getModel()- Specified by:
getModelin interfaceorg.apache.maven.api.MojoExecution
-
getDescriptor
public org.apache.maven.api.plugin.descriptor.MojoDescriptor getDescriptor()- Specified by:
getDescriptorin interfaceorg.apache.maven.api.MojoExecution
-
getLifecyclePhase
- Specified by:
getLifecyclePhasein interfaceorg.apache.maven.api.MojoExecution
-
getExecutionId
- Specified by:
getExecutionIdin interfaceorg.apache.maven.api.MojoExecution
-
getGoal
- Specified by:
getGoalin interfaceorg.apache.maven.api.MojoExecution
-
getConfiguration
- Specified by:
getConfigurationin 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
-