View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.4.1 on 2013-02-24 03:34:48,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.plugin.lifecycle;
9   
10  /**
11   * Root element of the <code>lifecycle.xml</code> file.
12   * 
13   * @version $Revision$ $Date$
14   */
15  @SuppressWarnings( "all" )
16  public class LifecycleConfiguration
17      implements java.io.Serializable
18  {
19  
20        //--------------------------/
21       //- Class/Member Variables -/
22      //--------------------------/
23  
24      /**
25       * Field lifecycles.
26       */
27      private java.util.List<Lifecycle> lifecycles;
28  
29      /**
30       * Field modelEncoding.
31       */
32      private String modelEncoding = "UTF-8";
33  
34  
35        //-----------/
36       //- Methods -/
37      //-----------/
38  
39      /**
40       * Method addLifecycle.
41       * 
42       * @param lifecycle
43       */
44      public void addLifecycle( Lifecycle lifecycle )
45      {
46          getLifecycles().add( lifecycle );
47      } //-- void addLifecycle( Lifecycle )
48  
49      /**
50       * Method getLifecycles.
51       * 
52       * @return List
53       */
54      public java.util.List<Lifecycle> getLifecycles()
55      {
56          if ( this.lifecycles == null )
57          {
58              this.lifecycles = new java.util.ArrayList<Lifecycle>();
59          }
60  
61          return this.lifecycles;
62      } //-- java.util.List<Lifecycle> getLifecycles()
63  
64      /**
65       * Get the modelEncoding field.
66       * 
67       * @return String
68       */
69      public String getModelEncoding()
70      {
71          return this.modelEncoding;
72      } //-- String getModelEncoding()
73  
74      /**
75       * Method removeLifecycle.
76       * 
77       * @param lifecycle
78       */
79      public void removeLifecycle( Lifecycle lifecycle )
80      {
81          getLifecycles().remove( lifecycle );
82      } //-- void removeLifecycle( Lifecycle )
83  
84      /**
85       * Set the lifecycles field.
86       * 
87       * @param lifecycles
88       */
89      public void setLifecycles( java.util.List<Lifecycle> lifecycles )
90      {
91          this.lifecycles = lifecycles;
92      } //-- void setLifecycles( java.util.List )
93  
94      /**
95       * Set the modelEncoding field.
96       * 
97       * @param modelEncoding
98       */
99      public void setModelEncoding( String modelEncoding )
100     {
101         this.modelEncoding = modelEncoding;
102     } //-- void setModelEncoding( String )
103 
104 }