public class MojoExecution extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MojoExecution.Source
Describes the source of an execution.
|
Constructor and Description |
---|
MojoExecution(MojoDescriptor mojoDescriptor) |
MojoExecution(MojoDescriptor mojoDescriptor,
String executionId) |
MojoExecution(MojoDescriptor mojoDescriptor,
String executionId,
MojoExecution.Source source) |
MojoExecution(MojoDescriptor mojoDescriptor,
org.codehaus.plexus.util.xml.Xpp3Dom configuration) |
MojoExecution(Plugin plugin,
String goal,
String executionId) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId() |
org.codehaus.plexus.util.xml.Xpp3Dom |
getConfiguration() |
String |
getExecutionId() |
Map<String,List<MojoExecution>> |
getForkedExecutions() |
String |
getGoal() |
String |
getGroupId() |
String |
getLifecyclePhase() |
MojoDescriptor |
getMojoDescriptor() |
Plugin |
getPlugin() |
MojoExecution.Source |
getSource()
Gets the source of this execution.
|
String |
getVersion() |
String |
identify() |
void |
setConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration) |
void |
setForkedExecutions(String projectKey,
List<MojoExecution> forkedExecutions) |
void |
setLifecyclePhase(String lifecyclePhase) |
void |
setMojoDescriptor(MojoDescriptor mojoDescriptor) |
String |
toString() |
public MojoExecution(MojoDescriptor mojoDescriptor)
public MojoExecution(MojoDescriptor mojoDescriptor, String executionId, MojoExecution.Source source)
public MojoExecution(MojoDescriptor mojoDescriptor, String executionId)
public MojoExecution(MojoDescriptor mojoDescriptor, org.codehaus.plexus.util.xml.Xpp3Dom configuration)
public MojoExecution.Source getSource()
null
if unknown.public String getExecutionId()
public Plugin getPlugin()
public MojoDescriptor getMojoDescriptor()
public org.codehaus.plexus.util.xml.Xpp3Dom getConfiguration()
public void setConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration)
public String identify()
public String getLifecyclePhase()
public void setLifecyclePhase(String lifecyclePhase)
public String getGroupId()
public String getArtifactId()
public String getVersion()
public String getGoal()
public void setMojoDescriptor(MojoDescriptor mojoDescriptor)
public Map<String,List<MojoExecution>> getForkedExecutions()
public void setForkedExecutions(String projectKey, List<MojoExecution> forkedExecutions)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.