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 Discovery.
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class Discovery
33      implements java.io.Serializable
34  {
35  
36        //--------------------------/
37       //- Class/Member Variables -/
38      //--------------------------/
39  
40      /**
41       * Field scanProfiles.
42       */
43      private java.util.List<String> scanProfiles;
44  
45  
46        //-----------/
47       //- Methods -/
48      //-----------/
49  
50      /**
51       * Method addScanProfile.
52       * 
53       * @param string a string object.
54       */
55      public void addScanProfile( String string )
56      {
57          getScanProfiles().add( string );
58      } //-- void addScanProfile( String )
59  
60      /**
61       * Method getScanProfiles.
62       * 
63       * @return List
64       */
65      public java.util.List<String> getScanProfiles()
66      {
67          if ( this.scanProfiles == null )
68          {
69              this.scanProfiles = new java.util.ArrayList<String>();
70          }
71  
72          return this.scanProfiles;
73      } //-- java.util.List<String> getScanProfiles()
74  
75      /**
76       * Method removeScanProfile.
77       * 
78       * @param string a string object.
79       */
80      public void removeScanProfile( String string )
81      {
82          getScanProfiles().remove( string );
83      } //-- void removeScanProfile( String )
84  
85      /**
86       * Set profiles to discover multi module project.
87       * 
88       * @param scanProfiles a scanProfiles object.
89       */
90      public void setScanProfiles( java.util.List<String> scanProfiles )
91      {
92          this.scanProfiles = scanProfiles;
93      } //-- void setScanProfiles( java.util.List )
94  
95  }