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 Discovery.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public class Discovery
15      implements java.io.Serializable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * Field scanProfiles.
24       */
25      private java.util.List<String> scanProfiles;
26  
27  
28        //-----------/
29       //- Methods -/
30      //-----------/
31  
32      /**
33       * Method addScanProfile.
34       * 
35       * @param string a string object.
36       */
37      public void addScanProfile( String string )
38      {
39          getScanProfiles().add( string );
40      } //-- void addScanProfile( String )
41  
42      /**
43       * Method getScanProfiles.
44       * 
45       * @return List
46       */
47      public java.util.List<String> getScanProfiles()
48      {
49          if ( this.scanProfiles == null )
50          {
51              this.scanProfiles = new java.util.ArrayList<String>();
52          }
53  
54          return this.scanProfiles;
55      } //-- java.util.List<String> getScanProfiles()
56  
57      /**
58       * Method removeScanProfile.
59       * 
60       * @param string a string object.
61       */
62      public void removeScanProfile( String string )
63      {
64          getScanProfiles().remove( string );
65      } //-- void removeScanProfile( String )
66  
67      /**
68       * Set profiles to discover multi module project.
69       * 
70       * @param scanProfiles a scanProfiles object.
71       */
72      public void setScanProfiles( java.util.List<String> scanProfiles )
73      {
74          this.scanProfiles = scanProfiles;
75      } //-- void setScanProfiles( java.util.List )
76  
77  }