org.apache.maven.plugin
Class MojoExecution

java.lang.Object
  extended by org.apache.maven.plugin.MojoExecution

public class MojoExecution
extends Object


Nested Class Summary
static class MojoExecution.Source
          Describes the source of an execution.
 
Constructor Summary
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)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.