Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
LifecycleExecution |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.4.1 on 2012-07-04 00:05:36, | |
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 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | this.goal = goal; |
96 | 0 | } //-- 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 | 0 | this.lifecycle = lifecycle; |
109 | 0 | } //-- 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 | 0 | this.phase = phase; |
119 | 0 | } //-- void setPhase( String ) |
120 | ||
121 | } |