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 ExecutionConfigurationScan.
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class ExecutionConfigurationScan
33      implements java.io.Serializable
34  {
35  
36        //--------------------------/
37       //- Class/Member Variables -/
38      //--------------------------/
39  
40      /**
41       * Field execIds.
42       */
43      private java.util.List<String> execIds;
44  
45      /**
46       * Specifies rules of configuration processing in search of
47       * referenced source files.
48       */
49      private DirScanConfig dirScan;
50  
51      /**
52       * ignore parent config or inherit/merge.
53       */
54      private boolean ignoreParentConfig = false;
55  
56  
57        //-----------/
58       //- Methods -/
59      //-----------/
60  
61      /**
62       * Method addExecId.
63       * 
64       * @param string a string object.
65       */
66      public void addExecId( String string )
67      {
68          getExecIds().add( string );
69      } //-- void addExecId( String )
70  
71      /**
72       * Get specifies rules of configuration processing in search of
73       * referenced source files.
74       * 
75       * @return DirScanConfig
76       */
77      public DirScanConfig getDirScan()
78      {
79          return this.dirScan;
80      } //-- DirScanConfig getDirScan()
81  
82      /**
83       * Method getExecIds.
84       * 
85       * @return List
86       */
87      public java.util.List<String> getExecIds()
88      {
89          if ( this.execIds == null )
90          {
91              this.execIds = new java.util.ArrayList<String>();
92          }
93  
94          return this.execIds;
95      } //-- java.util.List<String> getExecIds()
96  
97      /**
98       * Get ignore parent config or inherit/merge.
99       * 
100      * @return boolean
101      */
102     public boolean isIgnoreParentConfig()
103     {
104         return this.ignoreParentConfig;
105     } //-- boolean isIgnoreParentConfig()
106 
107     /**
108      * Method removeExecId.
109      * 
110      * @param string a string object.
111      */
112     public void removeExecId( String string )
113     {
114         getExecIds().remove( string );
115     } //-- void removeExecId( String )
116 
117     /**
118      * Set specifies rules of configuration processing in search of
119      * referenced source files.
120      * 
121      * @param dirScan a dirScan object.
122      */
123     public void setDirScan( DirScanConfig dirScan )
124     {
125         this.dirScan = dirScan;
126     } //-- void setDirScan( DirScanConfig )
127 
128     /**
129      * Set the execIds field.
130      * 
131      * @param execIds a execIds object.
132      */
133     public void setExecIds( java.util.List<String> execIds )
134     {
135         this.execIds = execIds;
136     } //-- void setExecIds( java.util.List )
137 
138     /**
139      * Set ignore parent config or inherit/merge.
140      * 
141      * @param ignoreParentConfig a ignoreParentConfig object.
142      */
143     public void setIgnoreParentConfig( boolean ignoreParentConfig )
144     {
145         this.ignoreParentConfig = ignoreParentConfig;
146     } //-- void setIgnoreParentConfig( boolean )
147 
148 }