1 // =================== DO NOT EDIT THIS FILE ====================
2 // Generated by Modello 1.8.1,
3 // any modifications will be overwritten.
4 // ==============================================================
5
6 package org.apache.maven.plugin.verifier.model;
7
8 /**
9 * Class File.
10 *
11 * @version $Revision$ $Date$
12 */
13 @SuppressWarnings( "all" )
14 public class File
15 implements java.io.Serializable
16 {
17
18 //--------------------------/
19 //- Class/Member Variables -/
20 //--------------------------/
21
22 /**
23 * Location of the file or directory to check.
24 */
25 private String location;
26
27 /**
28 * Check the content against this regular expression.
29 */
30 private String contains;
31
32 /**
33 *
34 * When this is set to <code>true</code> the plugin
35 * checks that the
36 * file or directory exists. When set to
37 * <code>false</code> it checks
38 * that the file or directory does
39 * <strong>not</strong> exist.
40 *
41 */
42 private boolean exists = true;
43
44
45 //-----------/
46 //- Methods -/
47 //-----------/
48
49 /**
50 * Get check the content against this regular expression.
51 *
52 * @return String
53 */
54 public String getContains()
55 {
56 return this.contains;
57 } //-- String getContains()
58
59 /**
60 * Get location of the file or directory to check.
61 *
62 * @return String
63 */
64 public String getLocation()
65 {
66 return this.location;
67 } //-- String getLocation()
68
69 /**
70 * Get when this is set to <code>true</code> the plugin checks
71 * that the
72 * file or directory exists. When set to
73 * <code>false</code> it checks
74 * that the file or directory does
75 * <strong>not</strong> exist.
76 *
77 * @return boolean
78 */
79 public boolean isExists()
80 {
81 return this.exists;
82 } //-- boolean isExists()
83
84 /**
85 * Set check the content against this regular expression.
86 *
87 * @param contains
88 */
89 public void setContains( String contains )
90 {
91 this.contains = contains;
92 } //-- void setContains( String )
93
94 /**
95 * Set when this is set to <code>true</code> the plugin checks
96 * that the
97 * file or directory exists. When set to
98 * <code>false</code> it checks
99 * that the file or directory does
100 * <strong>not</strong> exist.
101 *
102 * @param exists
103 */
104 public void setExists( boolean exists )
105 {
106 this.exists = exists;
107 } //-- void setExists( boolean )
108
109 /**
110 * Set location of the file or directory to check.
111 *
112 * @param location
113 */
114 public void setLocation( String location )
115 {
116 this.location = location;
117 } //-- void setLocation( String )
118
119 }