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