View Javadoc

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