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