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