View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 1.8.3,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.plugin.lifecycle;
7   
8   /**
9    * A set of goals to execute.
10   * 
11   * @version $Revision: 965443 $ $Date: 2015-09-15 00:18:52 +0200 (Tue, 15 Sep 2015) $
12   */
13  @SuppressWarnings( "all" )
14  public class Execution
15      implements java.io.Serializable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * Configuration to pass to the goals.
24       */
25      private Object configuration;
26  
27      /**
28       * Field goals.
29       */
30      private java.util.List<String> goals;
31  
32  
33        //-----------/
34       //- Methods -/
35      //-----------/
36  
37      /**
38       * Method addGoal.
39       * 
40       * @param string
41       */
42      public void addGoal( String string )
43      {
44          getGoals().add( string );
45      } //-- void addGoal( String )
46  
47      /**
48       * Get configuration to pass to the goals.
49       * 
50       * @return Object
51       */
52      public Object getConfiguration()
53      {
54          return this.configuration;
55      } //-- Object getConfiguration()
56  
57      /**
58       * Method getGoals.
59       * 
60       * @return List
61       */
62      public java.util.List<String> getGoals()
63      {
64          if ( this.goals == null )
65          {
66              this.goals = new java.util.ArrayList<String>();
67          }
68  
69          return this.goals;
70      } //-- java.util.List<String> getGoals()
71  
72      /**
73       * Method removeGoal.
74       * 
75       * @param string
76       */
77      public void removeGoal( String string )
78      {
79          getGoals().remove( string );
80      } //-- void removeGoal( String )
81  
82      /**
83       * Set configuration to pass to the goals.
84       * 
85       * @param configuration
86       */
87      public void setConfiguration( Object configuration )
88      {
89          this.configuration = configuration;
90      } //-- void setConfiguration( Object )
91  
92      /**
93       * Set the goals to execute.
94       * 
95       * @param goals
96       */
97      public void setGoals( java.util.List<String> goals )
98      {
99          this.goals = goals;
100     } //-- void setGoals( java.util.List )
101 
102 }