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   * A set of goals to execute.
12   * 
13   * @version $Revision$ $Date$
14   */
15  @SuppressWarnings( "all" )
16  public class Execution
17      implements java.io.Serializable
18  {
19  
20        //--------------------------/
21       //- Class/Member Variables -/
22      //--------------------------/
23  
24      /**
25       * Configuration to pass to the goals.
26       */
27      private Object configuration;
28  
29      /**
30       * Field goals.
31       */
32      private java.util.List<String> goals;
33  
34  
35        //-----------/
36       //- Methods -/
37      //-----------/
38  
39      /**
40       * Method addGoal.
41       * 
42       * @param string
43       */
44      public void addGoal( String string )
45      {
46          getGoals().add( string );
47      } //-- void addGoal( String )
48  
49      /**
50       * Get configuration to pass to the goals.
51       * 
52       * @return Object
53       */
54      public Object getConfiguration()
55      {
56          return this.configuration;
57      } //-- Object getConfiguration()
58  
59      /**
60       * Method getGoals.
61       * 
62       * @return List
63       */
64      public java.util.List<String> getGoals()
65      {
66          if ( this.goals == null )
67          {
68              this.goals = new java.util.ArrayList<String>();
69          }
70  
71          return this.goals;
72      } //-- java.util.List<String> getGoals()
73  
74      /**
75       * Method removeGoal.
76       * 
77       * @param string
78       */
79      public void removeGoal( String string )
80      {
81          getGoals().remove( string );
82      } //-- void removeGoal( String )
83  
84      /**
85       * Set configuration to pass to the goals.
86       * 
87       * @param configuration
88       */
89      public void setConfiguration( Object configuration )
90      {
91          this.configuration = configuration;
92      } //-- void setConfiguration( Object )
93  
94      /**
95       * Set the goals to execute.
96       * 
97       * @param goals
98       */
99      public void setGoals( java.util.List<String> goals )
100     {
101         this.goals = goals;
102     } //-- void setGoals( java.util.List )
103 
104 }