View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 2.1.2,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.tools.plugin.extractor.model;
7   
8   /**
9    * 
10   *         A sub-process execution of a lifecycle to satisfy the
11   * needs of a mojo.
12   *       
13   * 
14   * @version $Revision$ $Date$
15   */
16  @SuppressWarnings( "all" )
17  public class LifecycleExecution
18      implements java.io.Serializable
19  {
20  
21        //--------------------------/
22       //- Class/Member Variables -/
23      //--------------------------/
24  
25      /**
26       * The name of the overlay to apply to the sub-lifecycle before
27       * executing it. If specified, this
28       *             lifecycle overlay definition will be bundled
29       * with the plugin.
30       *           
31       */
32      private String lifecycle;
33  
34      /**
35       * The phase in the sub-lifecycle.
36       */
37      private String phase;
38  
39      /**
40       * A goal, not attached to a lifecycle phase, which should be
41       * executed ahead of this mojo.
42       *           
43       */
44      private String goal;
45  
46  
47        //-----------/
48       //- Methods -/
49      //-----------/
50  
51      /**
52       * Get a goal, not attached to a lifecycle phase, which should
53       * be executed ahead of this mojo.
54       * 
55       * @return String
56       */
57      public String getGoal()
58      {
59          return this.goal;
60      } //-- String getGoal()
61  
62      /**
63       * Get the name of the overlay to apply to the sub-lifecycle
64       * before executing it. If specified, this
65       *             lifecycle overlay definition will be bundled
66       * with the plugin.
67       * 
68       * @return String
69       */
70      public String getLifecycle()
71      {
72          return this.lifecycle;
73      } //-- String getLifecycle()
74  
75      /**
76       * Get the phase in the sub-lifecycle.
77       * 
78       * @return String
79       */
80      public String getPhase()
81      {
82          return this.phase;
83      } //-- String getPhase()
84  
85      /**
86       * Set a goal, not attached to a lifecycle phase, which should
87       * be executed ahead of this mojo.
88       * 
89       * @param goal a goal object.
90       */
91      public void setGoal( String goal )
92      {
93          this.goal = goal;
94      } //-- void setGoal( String )
95  
96      /**
97       * Set the name of the overlay to apply to the sub-lifecycle
98       * before executing it. If specified, this
99       *             lifecycle overlay definition will be bundled
100      * with the plugin.
101      * 
102      * @param lifecycle a lifecycle object.
103      */
104     public void setLifecycle( String lifecycle )
105     {
106         this.lifecycle = lifecycle;
107     } //-- void setLifecycle( String )
108 
109     /**
110      * Set the phase in the sub-lifecycle.
111      * 
112      * @param phase a phase object.
113      */
114     public void setPhase( String phase )
115     {
116         this.phase = phase;
117     } //-- void setPhase( String )
118 
119 }