View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 2.1.2,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.buildcache.xml.config;
7   
8   /**
9    * Class Reconcile.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public class Reconcile
15      implements java.io.Serializable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * Field plugins.
24       */
25      private java.util.List<GoalReconciliation> plugins;
26  
27      /**
28       * 
29       *                         Controls if all plugin properties to
30       * be logged (true is default). All the properties
31       *                         logged with respect to children:
32       *                         * logAll on plugin level overrides
33       * global value
34       *                         * true: logged all if no blacklists
35       * (&lt;nolog/&gt;) and whitelists (&lt;log/&gt;) specified on
36       *                         plugin level
37       *                         * false: logged only tracked and
38       * included by whitelists (&lt;log/&gt;) on plugin level
39       *                         &lt;log/&gt;
40       *                     .
41       */
42      private boolean logAllProperties = true;
43  
44  
45        //-----------/
46       //- Methods -/
47      //-----------/
48  
49      /**
50       * Method addPlugin.
51       * 
52       * @param goalReconciliation a goalReconciliation object.
53       */
54      public void addPlugin( GoalReconciliation goalReconciliation )
55      {
56          getPlugins().add( goalReconciliation );
57      } //-- void addPlugin( GoalReconciliation )
58  
59      /**
60       * Method getPlugins.
61       * 
62       * @return List
63       */
64      public java.util.List<GoalReconciliation> getPlugins()
65      {
66          if ( this.plugins == null )
67          {
68              this.plugins = new java.util.ArrayList<GoalReconciliation>();
69          }
70  
71          return this.plugins;
72      } //-- java.util.List<GoalReconciliation> getPlugins()
73  
74      /**
75       * Get controls if all plugin properties to be logged (true is
76       * default). All the properties
77       *                         logged with respect to children:
78       *                         * logAll on plugin level overrides
79       * global value
80       *                         * true: logged all if no blacklists
81       * (&lt;nolog/&gt;) and whitelists (&lt;log/&gt;) specified on
82       *                         plugin level
83       *                         * false: logged only tracked and
84       * included by whitelists (&lt;log/&gt;) on plugin level
85       *                         &lt;log/&gt;.
86       * 
87       * @return boolean
88       */
89      public boolean isLogAllProperties()
90      {
91          return this.logAllProperties;
92      } //-- boolean isLogAllProperties()
93  
94      /**
95       * Method removePlugin.
96       * 
97       * @param goalReconciliation a goalReconciliation object.
98       */
99      public void removePlugin( GoalReconciliation goalReconciliation )
100     {
101         getPlugins().remove( goalReconciliation );
102     } //-- void removePlugin( GoalReconciliation )
103 
104     /**
105      * Set controls if all plugin properties to be logged (true is
106      * default). All the properties
107      *                         logged with respect to children:
108      *                         * logAll on plugin level overrides
109      * global value
110      *                         * true: logged all if no blacklists
111      * (&lt;nolog/&gt;) and whitelists (&lt;log/&gt;) specified on
112      *                         plugin level
113      *                         * false: logged only tracked and
114      * included by whitelists (&lt;log/&gt;) on plugin level
115      *                         &lt;log/&gt;.
116      * 
117      * @param logAllProperties a logAllProperties object.
118      */
119     public void setLogAllProperties( boolean logAllProperties )
120     {
121         this.logAllProperties = logAllProperties;
122     } //-- void setLogAllProperties( boolean )
123 
124     /**
125      * Set reconciliation rules for plugin properties which might
126      * be affected by command line flags, etc.
127      * 
128      * @param plugins a plugins object.
129      */
130     public void setPlugins( java.util.List<GoalReconciliation> plugins )
131     {
132         this.plugins = plugins;
133     } //-- void setPlugins( java.util.List )
134 
135 }