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