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