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