Class MojoExecution


  • public class MojoExecution
    extends java.lang.Object
    MojoExecution
    • Field Detail

      • plugin

        private Plugin plugin
      • goal

        private java.lang.String goal
      • executionId

        private java.lang.String executionId
      • configuration

        private org.codehaus.plexus.util.xml.Xpp3Dom configuration
      • lifecyclePhase

        private java.lang.String lifecyclePhase
        The phase may or may not have been bound to a phase but once the plan has been calculated we know what phase this mojo execution is going to run in.
      • forkedExecutions

        private java.util.Map<java.lang.String,​java.util.List<MojoExecution>> forkedExecutions
        The executions to fork before this execution, indexed by the groupId:artifactId:version of the project on which the forked execution are to be run and in reactor build order.
    • Constructor Detail

      • MojoExecution

        public MojoExecution​(Plugin plugin,
                             java.lang.String goal,
                             java.lang.String executionId)
      • MojoExecution

        public MojoExecution​(MojoDescriptor mojoDescriptor)
      • MojoExecution

        public MojoExecution​(MojoDescriptor mojoDescriptor,
                             java.lang.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 java.lang.String getExecutionId()
      • getPlugin

        public Plugin getPlugin()
      • getConfiguration

        public org.codehaus.plexus.util.xml.Xpp3Dom getConfiguration()
      • setConfiguration

        public void setConfiguration​(org.codehaus.plexus.util.xml.Xpp3Dom configuration)
      • identify

        public java.lang.String identify()
      • getLifecyclePhase

        public java.lang.String getLifecyclePhase()
      • setLifecyclePhase

        public void setLifecyclePhase​(java.lang.String lifecyclePhase)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getGroupId

        public java.lang.String getGroupId()
      • getArtifactId

        public java.lang.String getArtifactId()
      • getVersion

        public java.lang.String getVersion()
      • getGoal

        public java.lang.String getGoal()
      • setMojoDescriptor

        public void setMojoDescriptor​(MojoDescriptor mojoDescriptor)
      • getForkedExecutions

        public java.util.Map<java.lang.String,​java.util.List<MojoExecution>> getForkedExecutions()
      • setForkedExecutions

        public void setForkedExecutions​(java.lang.String projectKey,
                                        java.util.List<MojoExecution> forkedExecutions)