org.apache.maven.plugin
Class MojoExecution
java.lang.Object
org.apache.maven.plugin.MojoExecution
public class MojoExecution
- extends Object
MojoExecution
public MojoExecution(Plugin plugin,
String goal,
String executionId)
MojoExecution
public MojoExecution(MojoDescriptor mojoDescriptor)
MojoExecution
public MojoExecution(MojoDescriptor mojoDescriptor,
String executionId,
MojoExecution.Source source)
MojoExecution
public MojoExecution(MojoDescriptor mojoDescriptor,
String executionId)
MojoExecution
public MojoExecution(MojoDescriptor mojoDescriptor,
org.codehaus.plexus.util.xml.Xpp3Dom configuration)
getSource
public MojoExecution.Source getSource()
- Gets the source of this execution.
- Returns:
- The source of this execution or
null
if unknown.
getExecutionId
public String getExecutionId()
getPlugin
public Plugin getPlugin()
getMojoDescriptor
public MojoDescriptor getMojoDescriptor()
getConfiguration
public org.codehaus.plexus.util.xml.Xpp3Dom getConfiguration()
setConfiguration
public void setConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration)
identify
public String identify()
getLifecyclePhase
public String getLifecyclePhase()
setLifecyclePhase
public void setLifecyclePhase(String lifecyclePhase)
toString
public String toString()
- Overrides:
toString
in class Object
getGroupId
public String getGroupId()
getArtifactId
public String getArtifactId()
getVersion
public String getVersion()
getGoal
public String getGoal()
setMojoDescriptor
public void setMojoDescriptor(MojoDescriptor mojoDescriptor)
getForkedExecutions
public Map<String,List<MojoExecution>> getForkedExecutions()
setForkedExecutions
public void setForkedExecutions(String projectKey,
List<MojoExecution> forkedExecutions)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.