Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ActivationFile |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.0.1 on 2009-03-28 16:09:53, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.model; | |
9 | ||
10 | /** | |
11 | * This is the file specification used to activate the profile. The | |
12 | * missing value | |
13 | * will be the location of a file that needs to exist, and | |
14 | * if it doesn't the profile will be | |
15 | * activated. On the other hand exists will test for the | |
16 | * existence of the file and if it is | |
17 | * there the profile will be activated. | |
18 | * | |
19 | * @version $Revision$ $Date$ | |
20 | */ | |
21 | 4 | public class ActivationFile |
22 | implements java.io.Serializable | |
23 | { | |
24 | ||
25 | //--------------------------/ | |
26 | //- Class/Member Variables -/ | |
27 | //--------------------------/ | |
28 | ||
29 | /** | |
30 | * The name of the file that must be missing to activate the | |
31 | * profile. | |
32 | */ | |
33 | private String missing; | |
34 | ||
35 | /** | |
36 | * The name of the file that must exist to activate the profile. | |
37 | */ | |
38 | private String exists; | |
39 | ||
40 | ||
41 | //-----------/ | |
42 | //- Methods -/ | |
43 | //-----------/ | |
44 | ||
45 | /** | |
46 | * Get the name of the file that must exist to activate the | |
47 | * profile. | |
48 | * | |
49 | * @return String | |
50 | */ | |
51 | public String getExists() | |
52 | { | |
53 | 0 | return this.exists; |
54 | } //-- String getExists() | |
55 | ||
56 | /** | |
57 | * Get the name of the file that must be missing to activate | |
58 | * the | |
59 | * profile. | |
60 | * | |
61 | * @return String | |
62 | */ | |
63 | public String getMissing() | |
64 | { | |
65 | 0 | return this.missing; |
66 | } //-- String getMissing() | |
67 | ||
68 | /** | |
69 | * Set the name of the file that must exist to activate the | |
70 | * profile. | |
71 | * | |
72 | * @param exists | |
73 | */ | |
74 | public void setExists( String exists ) | |
75 | { | |
76 | 0 | this.exists = exists; |
77 | 0 | } //-- void setExists( String ) |
78 | ||
79 | /** | |
80 | * Set the name of the file that must be missing to activate | |
81 | * the | |
82 | * profile. | |
83 | * | |
84 | * @param missing | |
85 | */ | |
86 | public void setMissing( String missing ) | |
87 | { | |
88 | 0 | this.missing = missing; |
89 | 0 | } //-- void setMissing( String ) |
90 | ||
91 | ||
92 | } |