1 /*
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 =================== DO NOT EDIT THIS FILE ====================
19 Generated by Modello 2.5.1,
20 any modifications will be overwritten.
21 ==============================================================
22 */
23
24 package org.apache.maven.tools.plugin.extractor.model;
25
26 /**
27 *
28 * A sub-process execution of a lifecycle to satisfy the
29 * needs of a mojo.
30 *
31 *
32 * @version $Revision$ $Date$
33 */
34 @SuppressWarnings( "all" )
35 public class LifecycleExecution
36 implements java.io.Serializable
37 {
38
39 //--------------------------/
40 //- Class/Member Variables -/
41 //--------------------------/
42
43 /**
44 * The name of the overlay to apply to the sub-lifecycle before
45 * executing it. If specified, this
46 * lifecycle overlay definition will be bundled
47 * with the plugin.
48 *
49 */
50 private String lifecycle;
51
52 /**
53 * The phase in the sub-lifecycle.
54 */
55 private String phase;
56
57 /**
58 * A goal, not attached to a lifecycle phase, which should be
59 * executed ahead of this mojo.
60 *
61 */
62 private String goal;
63
64
65 //-----------/
66 //- Methods -/
67 //-----------/
68
69 /**
70 * Get a goal, not attached to a lifecycle phase, which should
71 * be executed ahead of this mojo.
72 *
73 * @return String
74 */
75 public String getGoal()
76 {
77 return this.goal;
78 } //-- String getGoal()
79
80 /**
81 * Get the name of the overlay to apply to the sub-lifecycle
82 * before executing it. If specified, this
83 * lifecycle overlay definition will be bundled
84 * with the plugin.
85 *
86 * @return String
87 */
88 public String getLifecycle()
89 {
90 return this.lifecycle;
91 } //-- String getLifecycle()
92
93 /**
94 * Get the phase in the sub-lifecycle.
95 *
96 * @return String
97 */
98 public String getPhase()
99 {
100 return this.phase;
101 } //-- String getPhase()
102
103 /**
104 * Set a goal, not attached to a lifecycle phase, which should
105 * be executed ahead of this mojo.
106 *
107 * @param goal a goal object.
108 */
109 public void setGoal( String goal )
110 {
111 this.goal = goal;
112 } //-- void setGoal( String )
113
114 /**
115 * Set the name of the overlay to apply to the sub-lifecycle
116 * before executing it. If specified, this
117 * lifecycle overlay definition will be bundled
118 * with the plugin.
119 *
120 * @param lifecycle a lifecycle object.
121 */
122 public void setLifecycle( String lifecycle )
123 {
124 this.lifecycle = lifecycle;
125 } //-- void setLifecycle( String )
126
127 /**
128 * Set the phase in the sub-lifecycle.
129 *
130 * @param phase a phase object.
131 */
132 public void setPhase( String phase )
133 {
134 this.phase = phase;
135 } //-- void setPhase( String )
136
137 }