View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.4.1 on 2013-02-24 03:31:02,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.model;
9   
10  /**
11   * Contains the plugins management informations for the project.
12   * 
13   * @version $Revision$ $Date$
14   */
15  @SuppressWarnings( "all" )
16  public class PluginConfiguration
17      extends PluginContainer
18      implements java.io.Serializable, java.lang.Cloneable
19  {
20  
21        //--------------------------/
22       //- Class/Member Variables -/
23      //--------------------------/
24  
25      /**
26       * Default plugin information to be made available for
27       * reference by projects
28       *             derived from this one. This plugin configuration
29       * will not be resolved or bound to the
30       *             lifecycle unless referenced. Any local
31       * configuration for a given plugin will override
32       *             the plugin's entire definition here.
33       */
34      private PluginManagement pluginManagement;
35  
36  
37        //-----------/
38       //- Methods -/
39      //-----------/
40  
41      /**
42       * Method clone.
43       * 
44       * @return PluginConfiguration
45       */
46      public PluginConfiguration clone()
47      {
48          try
49          {
50              PluginConfiguration copy = (PluginConfiguration) super.clone();
51  
52              if ( this.pluginManagement != null )
53              {
54                  copy.pluginManagement = (PluginManagement) this.pluginManagement.clone();
55              }
56  
57              return copy;
58          }
59          catch ( java.lang.Exception ex )
60          {
61              throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
62                  + " does not support clone()" ).initCause( ex );
63          }
64      } //-- PluginConfiguration clone()
65  
66      /**
67       * Get default plugin information to be made available for
68       * reference by projects
69       *             derived from this one. This plugin configuration
70       * will not be resolved or bound to the
71       *             lifecycle unless referenced. Any local
72       * configuration for a given plugin will override
73       *             the plugin's entire definition here.
74       * 
75       * @return PluginManagement
76       */
77      public PluginManagement getPluginManagement()
78      {
79          return this.pluginManagement;
80      } //-- PluginManagement getPluginManagement()
81  
82      /**
83       * Set default plugin information to be made available for
84       * reference by projects
85       *             derived from this one. This plugin configuration
86       * will not be resolved or bound to the
87       *             lifecycle unless referenced. Any local
88       * configuration for a given plugin will override
89       *             the plugin's entire definition here.
90       * 
91       * @param pluginManagement
92       */
93      public void setPluginManagement( PluginManagement pluginManagement )
94      {
95          this.pluginManagement = pluginManagement;
96      } //-- void setPluginManagement( PluginManagement )
97  
98  }