1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package net.sf.maventaglib;
25
26 import java.io.File;
27 import java.io.Serializable;
28
29 import org.apache.commons.lang3.builder.ToStringBuilder;
30 import org.apache.commons.lang3.builder.ToStringStyle;
31 import org.apache.maven.plugins.annotations.Parameter;
32
33
34
35
36
37
38 public class Taglib implements Serializable
39 {
40 private static final long serialVersionUID = -1130286008090091787L;
41
42
43
44
45 @Parameter
46 private String[] functionClasses;
47
48
49
50
51 @Parameter
52 private File tagdir;
53
54
55
56
57 @Parameter
58 private String description;
59
60
61
62
63 @Parameter
64 private String shortName;
65
66
67
68
69 @Parameter
70 private String uri;
71
72
73
74
75 @Parameter
76 private String outputname;
77
78
79
80
81
82 public String[] getFunctionClasses()
83 {
84 return functionClasses;
85 }
86
87
88
89
90
91 public void setFunctionClasses(String[] functionClasses)
92 {
93 this.functionClasses = functionClasses;
94 }
95
96
97
98
99
100 public String getDescription()
101 {
102 return description;
103 }
104
105
106
107
108
109 public void setDescription(String description)
110 {
111 this.description = description;
112 }
113
114
115
116
117
118 public String getShortName()
119 {
120 return shortName;
121 }
122
123
124
125
126
127 public void setShortName(String shortName)
128 {
129 this.shortName = shortName;
130 }
131
132
133
134
135
136 public String getUri()
137 {
138 return uri;
139 }
140
141
142
143
144
145 public void setUri(String uri)
146 {
147 this.uri = uri;
148 }
149
150
151
152
153
154 public String getOutputname()
155 {
156 return outputname;
157 }
158
159
160
161
162
163 public void setOutputname(String outputname)
164 {
165 this.outputname = outputname;
166 }
167
168
169
170
171
172 public File getTagdir()
173 {
174 return tagdir;
175 }
176
177
178
179
180
181 public void setTagdir(File tagdir)
182 {
183 this.tagdir = tagdir;
184 }
185
186
187
188
189 @Override
190 public String toString()
191 {
192 return new ToStringBuilder(this, ToStringStyle.SIMPLE_STYLE).append("description", this.description).append(
193 "tagdir",
194 this.tagdir).append("shortName", this.shortName).append("outputname", this.outputname).append(
195 "uri",
196 this.uri).append("functionClasses", this.functionClasses).toString();
197 }
198
199 }