001// =================== DO NOT EDIT THIS FILE ====================
002// Generated by Modello 1.8.3,
003// any modifications will be overwritten.
004// ==============================================================
005
006package org.apache.maven.plugin.lifecycle;
007
008/**
009 * Root element of the <code>lifecycle.xml</code> file.
010 * 
011 * @version $Revision: 965443 $ $Date: 2015-09-14 22:18:52 +0000 (Mon, 14 Sep 2015) $
012 */
013@SuppressWarnings( "all" )
014public class LifecycleConfiguration
015    implements java.io.Serializable
016{
017
018      //--------------------------/
019     //- Class/Member Variables -/
020    //--------------------------/
021
022    /**
023     * Field lifecycles.
024     */
025    private java.util.List<Lifecycle> lifecycles;
026
027    /**
028     * Field modelEncoding.
029     */
030    private String modelEncoding = "UTF-8";
031
032
033      //-----------/
034     //- Methods -/
035    //-----------/
036
037    /**
038     * Method addLifecycle.
039     * 
040     * @param lifecycle
041     */
042    public void addLifecycle( Lifecycle lifecycle )
043    {
044        getLifecycles().add( lifecycle );
045    } //-- void addLifecycle( Lifecycle )
046
047    /**
048     * Method getLifecycles.
049     * 
050     * @return List
051     */
052    public java.util.List<Lifecycle> getLifecycles()
053    {
054        if ( this.lifecycles == null )
055        {
056            this.lifecycles = new java.util.ArrayList<Lifecycle>();
057        }
058
059        return this.lifecycles;
060    } //-- java.util.List<Lifecycle> getLifecycles()
061
062    /**
063     * Get the modelEncoding field.
064     * 
065     * @return String
066     */
067    public String getModelEncoding()
068    {
069        return this.modelEncoding;
070    } //-- String getModelEncoding()
071
072    /**
073     * Method removeLifecycle.
074     * 
075     * @param lifecycle
076     */
077    public void removeLifecycle( Lifecycle lifecycle )
078    {
079        getLifecycles().remove( lifecycle );
080    } //-- void removeLifecycle( Lifecycle )
081
082    /**
083     * Set the lifecycles field.
084     * 
085     * @param lifecycles
086     */
087    public void setLifecycles( java.util.List<Lifecycle> lifecycles )
088    {
089        this.lifecycles = lifecycles;
090    } //-- void setLifecycles( java.util.List )
091
092    /**
093     * Set the modelEncoding field.
094     * 
095     * @param modelEncoding
096     */
097    public void setModelEncoding( String modelEncoding )
098    {
099        this.modelEncoding = modelEncoding;
100    } //-- void setModelEncoding( String )
101
102}