View Javadoc
1   /*
2    Licensed to the Apache Software Foundation (ASF) under one
3    or more contributor license agreements.  See the NOTICE file
4    distributed with this work for additional information
5    regarding copyright ownership.  The ASF licenses this file
6    to you under the Apache License, Version 2.0 (the
7    "License"); you may not use this file except in compliance
8    with the License.  You may obtain a copy of the License at
9    
10       http://www.apache.org/licenses/LICENSE-2.0
11   
12   Unless required by applicable law or agreed to in writing,
13   software distributed under the License is distributed on an
14   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   KIND, either express or implied.  See the License for the
16   specific language governing permissions and limitations
17   under the License.
18   =================== DO NOT EDIT THIS FILE ====================
19   Generated by Modello 2.5.1,
20   any modifications will be overwritten.
21   ==============================================================
22   */
23  
24  package org.apache.maven.buildcache.xml.config;
25  
26  /**
27   * Class PluginConfigurationScan.
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class PluginConfigurationScan
33      extends CoordinatesBase
34      implements java.io.Serializable
35  {
36  
37        //--------------------------/
38       //- Class/Member Variables -/
39      //--------------------------/
40  
41      /**
42       * True to exclude plugin dependencies from the calculation
43       * rules.
44       */
45      private boolean excludeDependencies = false;
46  
47      /**
48       * Effective pom calculation rules.
49       */
50      private EffectivePom effectivePom;
51  
52      /**
53       * Specifies plugin level rules of configuration processing in
54       * search of referenced source files.
55       */
56      private DirScanConfig dirScan;
57  
58      /**
59       * Field executions.
60       */
61      private java.util.List<ExecutionConfigurationScan> executions;
62  
63  
64        //-----------/
65       //- Methods -/
66      //-----------/
67  
68      /**
69       * Method addExecution.
70       * 
71       * @param executionConfigurationScan a
72       * executionConfigurationScan object.
73       */
74      public void addExecution( ExecutionConfigurationScan executionConfigurationScan )
75      {
76          getExecutions().add( executionConfigurationScan );
77      } //-- void addExecution( ExecutionConfigurationScan )
78  
79      /**
80       * Get specifies plugin level rules of configuration processing
81       * in search of referenced source files.
82       * 
83       * @return DirScanConfig
84       */
85      public DirScanConfig getDirScan()
86      {
87          return this.dirScan;
88      } //-- DirScanConfig getDirScan()
89  
90      /**
91       * Get effective pom calculation rules.
92       * 
93       * @return EffectivePom
94       */
95      public EffectivePom getEffectivePom()
96      {
97          return this.effectivePom;
98      } //-- EffectivePom getEffectivePom()
99  
100     /**
101      * Method getExecutions.
102      * 
103      * @return List
104      */
105     public java.util.List<ExecutionConfigurationScan> getExecutions()
106     {
107         if ( this.executions == null )
108         {
109             this.executions = new java.util.ArrayList<ExecutionConfigurationScan>();
110         }
111 
112         return this.executions;
113     } //-- java.util.List<ExecutionConfigurationScan> getExecutions()
114 
115     /**
116      * Get true to exclude plugin dependencies from the calculation
117      * rules.
118      * 
119      * @return boolean
120      */
121     public boolean isExcludeDependencies()
122     {
123         return this.excludeDependencies;
124     } //-- boolean isExcludeDependencies()
125 
126     /**
127      * Method removeExecution.
128      * 
129      * @param executionConfigurationScan a
130      * executionConfigurationScan object.
131      */
132     public void removeExecution( ExecutionConfigurationScan executionConfigurationScan )
133     {
134         getExecutions().remove( executionConfigurationScan );
135     } //-- void removeExecution( ExecutionConfigurationScan )
136 
137     /**
138      * Set specifies plugin level rules of configuration processing
139      * in search of referenced source files.
140      * 
141      * @param dirScan a dirScan object.
142      */
143     public void setDirScan( DirScanConfig dirScan )
144     {
145         this.dirScan = dirScan;
146     } //-- void setDirScan( DirScanConfig )
147 
148     /**
149      * Set effective pom calculation rules.
150      * 
151      * @param effectivePom a effectivePom object.
152      */
153     public void setEffectivePom( EffectivePom effectivePom )
154     {
155         this.effectivePom = effectivePom;
156     } //-- void setEffectivePom( EffectivePom )
157 
158     /**
159      * Set true to exclude plugin dependencies from the calculation
160      * rules.
161      * 
162      * @param excludeDependencies a excludeDependencies object.
163      */
164     public void setExcludeDependencies( boolean excludeDependencies )
165     {
166         this.excludeDependencies = excludeDependencies;
167     } //-- void setExcludeDependencies( boolean )
168 
169     /**
170      * Set specifies execution specific configuration processing in
171      * search of referenced source files.
172      * 
173      * @param executions a executions object.
174      */
175     public void setExecutions( java.util.List<ExecutionConfigurationScan> executions )
176     {
177         this.executions = executions;
178     } //-- void setExecutions( java.util.List )
179 
180 }