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    * Path to a directory containing files which needs to be
10   * saved/restored (relative to the build directory).
11   *             <br>
12   *             Examples :
13   *             <ul>
14   *              
15   * <li><code>&lt;dirName&gt;classes&lt;/dirName&gt;</code> : files
16   * in ${project.basedir}/target/classes</li>
17   *               <li><code>&lt;dirName
18   * glob="jacoco.xml"&gt;&lt;/dirName&gt;</code> : jacoco report
19   * files in ${project.basedir}/target</li>
20   *              
21   * <li><code>&lt;dirName&gt;../src/main/javagen&lt;/dirName&gt;</code>
22   * : files in ${project.basedir}/src/main/javagen (in this exemple,
23   * javagen is a folder saved in git but erased on clean) </li>
24   *             </ul>
25   *             <br><br>
26   * 
27   *             
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class DirName
33      implements java.io.Serializable
34  {
35  
36        //--------------------------/
37       //- Class/Member Variables -/
38      //--------------------------/
39  
40      /**
41       * Directory name in build output directory to attach to cached
42       * artifacts.
43       */
44      private String value;
45  
46      /**
47       * Entries are filtered by matching this glob.
48       */
49      private String glob = "*";
50  
51  
52        //-----------/
53       //- Methods -/
54      //-----------/
55  
56      /**
57       * Get entries are filtered by matching this glob.
58       * 
59       * @return String
60       */
61      public String getGlob()
62      {
63          return this.glob;
64      } //-- String getGlob()
65  
66      /**
67       * Get directory name in build output directory to attach to
68       * cached artifacts.
69       * 
70       * @return String
71       */
72      public String getValue()
73      {
74          return this.value;
75      } //-- String getValue()
76  
77      /**
78       * Set entries are filtered by matching this glob.
79       * 
80       * @param glob a glob object.
81       */
82      public void setGlob( String glob )
83      {
84          this.glob = glob;
85      } //-- void setGlob( String )
86  
87      /**
88       * Set directory name in build output directory to attach to
89       * cached artifacts.
90       * 
91       * @param value a value object.
92       */
93      public void setValue( String value )
94      {
95          this.value = value;
96      } //-- void setValue( String )
97  
98  }