1
2
3
4
5
6
7
8 package org.apache.maven.model;
9
10
11
12
13
14
15
16
17
18
19
20
21 @SuppressWarnings( "all" )
22 public class ActivationFile
23 implements java.io.Serializable, java.lang.Cloneable, org.apache.maven.model.InputLocationTracker
24 {
25
26
27
28
29
30
31
32
33
34 private String missing;
35
36
37
38
39 private String exists;
40
41
42
43
44 private java.util.Map<Object, InputLocation> locations;
45
46
47
48
49
50
51
52
53
54
55
56 public ActivationFile clone()
57 {
58 try
59 {
60 ActivationFile copy = (ActivationFile) super.clone();
61
62 if ( copy.locations != null )
63 {
64 copy.locations = new java.util.LinkedHashMap( copy.locations );
65 }
66
67 return copy;
68 }
69 catch ( java.lang.Exception ex )
70 {
71 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
72 + " does not support clone()" ).initCause( ex );
73 }
74 }
75
76
77
78
79
80
81
82 public String getExists()
83 {
84 return this.exists;
85 }
86
87
88
89
90
91
92
93 public InputLocation getLocation( Object key )
94 {
95 return ( locations != null ) ? locations.get( key ) : null;
96 }
97
98
99
100
101
102
103
104
105 public String getMissing()
106 {
107 return this.missing;
108 }
109
110
111
112
113
114
115
116 public void setExists( String exists )
117 {
118 this.exists = exists;
119 }
120
121
122
123
124
125
126
127 public void setLocation( Object key, InputLocation location )
128 {
129 if ( location != null )
130 {
131 if ( this.locations == null )
132 {
133 this.locations = new java.util.LinkedHashMap<Object, InputLocation>();
134 }
135 this.locations.put( key, location );
136 }
137 }
138
139
140
141
142
143
144
145
146 public void setMissing( String missing )
147 {
148 this.missing = missing;
149 }
150
151 }