001 /*
002 =================== DO NOT EDIT THIS FILE ====================
003 Generated by Modello 1.4.1 on 2012-06-30 12:32:39,
004 any modifications will be overwritten.
005 ==============================================================
006 */
007
008 package org.apache.maven.plugin.tools.model;
009
010 /**
011 *
012 * A sub-process execution of a lifecycle to satisfy the
013 * needs of a mojo.
014 *
015 *
016 * @version $Revision$ $Date$
017 */
018 @SuppressWarnings( "all" )
019 public class LifecycleExecution
020 implements java.io.Serializable
021 {
022
023 //--------------------------/
024 //- Class/Member Variables -/
025 //--------------------------/
026
027 /**
028 * The name of the overlay to apply to the sub-lifecycle before
029 * executing it. If specified, this
030 * lifecycle overlay definition will be bundled
031 * with the plugin.
032 *
033 */
034 private String lifecycle;
035
036 /**
037 * The phase in the sub-lifecycle.
038 */
039 private String phase;
040
041 /**
042 * A goal, not attached to a lifecycle phase, which should be
043 * executed ahead of this mojo.
044 *
045 */
046 private String goal;
047
048
049 //-----------/
050 //- Methods -/
051 //-----------/
052
053 /**
054 * Get a goal, not attached to a lifecycle phase, which should
055 * be executed ahead of this mojo.
056 *
057 * @return String
058 */
059 public String getGoal()
060 {
061 return this.goal;
062 } //-- String getGoal()
063
064 /**
065 * Get the name of the overlay to apply to the sub-lifecycle
066 * before executing it. If specified, this
067 * lifecycle overlay definition will be bundled
068 * with the plugin.
069 *
070 * @return String
071 */
072 public String getLifecycle()
073 {
074 return this.lifecycle;
075 } //-- String getLifecycle()
076
077 /**
078 * Get the phase in the sub-lifecycle.
079 *
080 * @return String
081 */
082 public String getPhase()
083 {
084 return this.phase;
085 } //-- String getPhase()
086
087 /**
088 * Set a goal, not attached to a lifecycle phase, which should
089 * be executed ahead of this mojo.
090 *
091 * @param goal
092 */
093 public void setGoal( String goal )
094 {
095 this.goal = goal;
096 } //-- void setGoal( String )
097
098 /**
099 * 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 }