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