Debian Codegraph @

docs/apidocs/org/jboss/logging/annotations/ResolutionDoc.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!-- NewPage -->
3 <html lang="en">
4 <head>
5 <!-- Generated by javadoc -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>ResolutionDoc (JBoss Logging I18n Documentation 2.2.1.Final API)</title>
8 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9 <script type="text/javascript" src="../../../../script.js"></script>
10 </head>
11 <body>
12 <script type="text/javascript"><!--
13 try {
14 if (location.href.indexOf('is-external=true') == -1) {
15 parent.document.title="ResolutionDoc (JBoss Logging I18n Documentation 2.2.1.Final API)";
16 }
17 }
18 catch(err) {
19 }
20 //-->
21 </script>
22 <noscript>
23 <div>JavaScript is disabled on your browser.</div>
24 </noscript>
25 <!-- ========= START OF TOP NAVBAR ======= -->
26 <div class="topNav"><a name="navbar.top">
27 <!-- -->
28 </a>
29 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
30 <a name="navbar.top.firstrow">
31 <!-- -->
32 </a>
33 <ul class="navList" title="Navigation">
34 <li><a href="../../../../org/jboss/logging/annotations/package-summary.html">Package</a></li>
35 <li class="navBarCell1Rev">Class</li>
36 <li><a href="class-use/ResolutionDoc.html">Use</a></li>
37 <li><a href="package-tree.html">Tree</a></li>
38 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
39 <li><a href="../../../../index-all.html">Index</a></li>
40 <li><a href="../../../../help-doc.html">Help</a></li>
41 </ul>
42 <div class="aboutLanguage">JBoss Logging Tools, 2.2.1.Final</div>
43 </div>
44 <div class="subNav">
45 <ul class="navList">
46 <li><a href="../../../../org/jboss/logging/annotations/Property.html" title="annotation in org.jboss.logging.annotations"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
47 <li><a href="../../../../org/jboss/logging/annotations/Signature.html" title="annotation in org.jboss.logging.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
48 </ul>
49 <ul class="navList">
50 <li><a href="../../../../index.html?org/jboss/logging/annotations/ResolutionDoc.html" target="_top">Frames</a></li>
51 <li><a href="ResolutionDoc.html" target="_top">No&nbsp;Frames</a></li>
52 </ul>
53 <ul class="navList" id="allclasses_navbar_top">
54 <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
55 </ul>
56 <div>
57 <script type="text/javascript"><!--
58 allClassesLink = document.getElementById("allclasses_navbar_top");
59 if(window==top) {
60 allClassesLink.style.display = "block";
61 }
62 else {
63 allClassesLink.style.display = "none";
64 }
65 //-->
66 </script>
67 </div>
68 <div>
69 <ul class="subNavList">
70 <li>Summary:&nbsp;</li>
71 <li>Field&nbsp;|&nbsp;</li>
72 <li>Required&nbsp;|&nbsp;</li>
73 <li><a href="#annotation.type.optional.element.summary">Optional</a></li>
74 </ul>
75 <ul class="subNavList">
76 <li>Detail:&nbsp;</li>
77 <li>Field&nbsp;|&nbsp;</li>
78 <li><a href="#annotation.type.element.detail">Element</a></li>
79 </ul>
80 </div>
81 <a name="skip.navbar.top">
82 <!-- -->
83 </a></div>
84 <!-- ========= END OF TOP NAVBAR ========= -->
85 <!-- ======== START OF CLASS DATA ======== -->
86 <div class="header">
87 <div class="subTitle">org.jboss.logging.annotations</div>
88 <h2 title="Annotation Type ResolutionDoc" class="title">Annotation Type ResolutionDoc</h2>
89 </div>
90 <div class="contentContainer">
91 <div class="description">
92 <ul class="blockList">
93 <li class="blockList">
94 <hr>
95 <br>
96 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>={<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/ElementType.html?is-external=true#METHOD" title="class or interface in java.lang.annotation">METHOD</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/ElementType.html?is-external=true#TYPE" title="class or interface in java.lang.annotation">TYPE</a>})
97 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#CLASS" title="class or interface in java.lang.annotation">CLASS</a>)
98 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
99 public @interface <span class="memberNameLabel">ResolutionDoc</span></pre>
100 <div class="block">Allows a link to be created for messages on a report which contain a possible resolution to the issue reported . If
101 the method does not include an <a href="../../../../org/jboss/logging/annotations/Message.html#id--">id</a> no link will be created for the report unless a
102 <a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#path--"><code>path()</code></a> is defined.
103
104 <p>
105 The rules for building the URL are as follows:
106 <ul>
107 <li><a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#url--"><code>url</code></a>: If left empty and the type is annotated with a <a href="../../../../org/jboss/logging/annotations/BaseUrl.html" title="annotation in org.jboss.logging.annotations"><code>BaseUrl</code></a> the value for the
108 <code>@BaseUrl</code> will be used. If defined this will override the value of the <a href="../../../../org/jboss/logging/annotations/BaseUrl.html" title="annotation in org.jboss.logging.annotations"><code>BaseUrl</code></a>. If neither are
109 defined the rules for the <a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#path--"><code>path()</code></a> will be followed.</li>
110 <li><a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#path--"><code>path</code></a>: If defined this will be the path appended to the <a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#url--"><code>url()</code></a> or the value of the
111 <a href="../../../../org/jboss/logging/annotations/BaseUrl.html" title="annotation in org.jboss.logging.annotations"><code>BaseUrl</code></a>. Note that neither <a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#url--"><code>url()</code></a> nor <a href="../../../../org/jboss/logging/annotations/BaseUrl.html" title="annotation in org.jboss.logging.annotations"><code>BaseUrl</code></a> are required. If the value is left
112 undefined the id (project code plus the <a href="../../../../org/jboss/logging/annotations/Message.html#id--">message id</a>) will be used for the path.</li>
113 <li><a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#suffix--"><code>suffix</code></a>: The suffix to append to the <a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#path--"><code>path()</code></a>. This is mostly useful if the path
114 is left undefined and a suffix should be appended to the messages id. If left undefined and the <a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#path--"><code>path()</code></a>
115 is not defined, the suffix will be determined based on the report type.</li>
116 </ul>
117 </p>
118
119 <p>
120 If placed on a type links will be created for all methods on the type.
121 </p>
122
123 <p>
124 Do note that the processor does not validate the resolution document exists. It simply attempts to create links to
125 the resolution document.
126 </p>
127 <p>
128 Expressions in the form of <code>${property.key:default-value}</code> can be used for the values with the exception of the
129 <a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#skip--"><code>skip</code></a> attribute. If the property key is prefixed with <code>sys.</code> a
130 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/System.html?is-external=true#getProperty-java.lang.String-" title="class or interface in java.lang">system property</a> will be used. If the key is prefixed with <code>env.</code> an
131 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/System.html?is-external=true#getenv-java.lang.String-" title="class or interface in java.lang">environment variable</a> will be used. In all other cases the
132 <code>org.jboss.logging.tools.expressionProperties</code> processor argument is used to specify the path the properties
133 file which contains the values for the expressions.
134 </p></div>
135 <dl>
136 <dt><span class="simpleTagLabel">Since:</span></dt>
137 <dd>1.2</dd>
138 <dt><span class="simpleTagLabel">Author:</span></dt>
139 <dd><a href="mailto:[email protected]">James R. Perkins</a></dd>
140 </dl>
141 </li>
142 </ul>
143 </div>
144 <div class="summary">
145 <ul class="blockList">
146 <li class="blockList">
147 <!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
148 <ul class="blockList">
149 <li class="blockList"><a name="annotation.type.optional.element.summary">
150 <!-- -->
151 </a>
152 <h3>Optional Element Summary</h3>
153 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
154 <caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
155 <tr>
156 <th class="colFirst" scope="col">Modifier and Type</th>
157 <th class="colLast" scope="col">Optional Element and Description</th>
158 </tr>
159 <tr class="altColor">
160 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
161 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#path--">path</a></span></code>
162 <div class="block">The path to the resolution document.</div>
163 </td>
164 </tr>
165 <tr class="rowColor">
166 <td class="colFirst"><code>boolean</code></td>
167 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#skip--">skip</a></span></code>
168 <div class="block">Allows the creation of a link to be skipped.</div>
169 </td>
170 </tr>
171 <tr class="altColor">
172 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
173 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#suffix--">suffix</a></span></code>
174 <div class="block">The suffix to append to the path.</div>
175 </td>
176 </tr>
177 <tr class="rowColor">
178 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
179 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/ResolutionDoc.html#url--">url</a></span></code>
180 <div class="block">The URL, fully qualified or relative, to use for the resolution document.</div>
181 </td>
182 </tr>
183 </table>
184 </li>
185 </ul>
186 </li>
187 </ul>
188 </div>
189 <div class="details">
190 <ul class="blockList">
191 <li class="blockList">
192 <!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
193 <ul class="blockList">
194 <li class="blockList"><a name="annotation.type.element.detail">
195 <!-- -->
196 </a>
197 <h3>Element Detail</h3>
198 <a name="url--">
199 <!-- -->
200 </a>
201 <ul class="blockList">
202 <li class="blockList">
203 <h4>url</h4>
204 <pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url</pre>
205 <div class="block">The URL, fully qualified or relative, to use for the resolution document. If defined this will override the value
206 of the <a href="../../../../org/jboss/logging/annotations/BaseUrl.html" title="annotation in org.jboss.logging.annotations"><code>BaseUrl</code></a> if the annotation is used.</div>
207 <dl>
208 <dt><span class="returnLabel">Returns:</span></dt>
209 <dd>the URL or an empty string</dd>
210 </dl>
211 <dl>
212 <dt>Default:</dt>
213 <dd>""</dd>
214 </dl>
215 </li>
216 </ul>
217 </li>
218 </ul>
219 <ul class="blockList">
220 <li class="blockList"><a name="path--">
221 <!-- -->
222 </a>
223 <ul class="blockList">
224 <li class="blockList">
225 <h4>path</h4>
226 <pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path</pre>
227 <div class="block">The path to the resolution document. If left undefined this will default to the message id.</div>
228 <dl>
229 <dt><span class="returnLabel">Returns:</span></dt>
230 <dd>the path to the resolution document</dd>
231 </dl>
232 <dl>
233 <dt>Default:</dt>
234 <dd>""</dd>
235 </dl>
236 </li>
237 </ul>
238 </li>
239 </ul>
240 <ul class="blockList">
241 <li class="blockList"><a name="suffix--">
242 <!-- -->
243 </a>
244 <ul class="blockList">
245 <li class="blockList">
246 <h4>suffix</h4>
247 <pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;suffix</pre>
248 <div class="block">The suffix to append to the path. If left undefined this will default to the extension for the report type. For
249 example if the report type is <code>xml</code> the default suffix would be <code>.xml</code>.</div>
250 <dl>
251 <dt><span class="returnLabel">Returns:</span></dt>
252 <dd>the suffix for the resolution document</dd>
253 </dl>
254 <dl>
255 <dt>Default:</dt>
256 <dd>""</dd>
257 </dl>
258 </li>
259 </ul>
260 </li>
261 </ul>
262 <ul class="blockList">
263 <li class="blockList"><a name="skip--">
264 <!-- -->
265 </a>
266 <ul class="blockListLast">
267 <li class="blockList">
268 <h4>skip</h4>
269 <pre>public abstract&nbsp;boolean&nbsp;skip</pre>
270 <div class="block">Allows the creation of a link to be skipped.</div>
271 <dl>
272 <dt><span class="returnLabel">Returns:</span></dt>
273 <dd><code>true</code> if creating the link should be skipped</dd>
274 </dl>
275 <dl>
276 <dt>Default:</dt>
277 <dd>false</dd>
278 </dl>
279 </li>
280 </ul>
281 </li>
282 </ul>
283 </li>
284 </ul>
285 </div>
286 </div>
287 <!-- ========= END OF CLASS DATA ========= -->
288 <!-- ======= START OF BOTTOM NAVBAR ====== -->
289 <div class="bottomNav"><a name="navbar.bottom">
290 <!-- -->
291 </a>
292 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
293 <a name="navbar.bottom.firstrow">
294 <!-- -->
295 </a>
296 <ul class="navList" title="Navigation">
297 <li><a href="../../../../org/jboss/logging/annotations/package-summary.html">Package</a></li>
298 <li class="navBarCell1Rev">Class</li>
299 <li><a href="class-use/ResolutionDoc.html">Use</a></li>
300 <li><a href="package-tree.html">Tree</a></li>
301 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
302 <li><a href="../../../../index-all.html">Index</a></li>
303 <li><a href="../../../../help-doc.html">Help</a></li>
304 </ul>
305 <div class="aboutLanguage">JBoss Logging Tools, 2.2.1.Final</div>
306 </div>
307 <div class="subNav">
308 <ul class="navList">
309 <li><a href="../../../../org/jboss/logging/annotations/Property.html" title="annotation in org.jboss.logging.annotations"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
310 <li><a href="../../../../org/jboss/logging/annotations/Signature.html" title="annotation in org.jboss.logging.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
311 </ul>
312 <ul class="navList">
313 <li><a href="../../../../index.html?org/jboss/logging/annotations/ResolutionDoc.html" target="_top">Frames</a></li>
314 <li><a href="ResolutionDoc.html" target="_top">No&nbsp;Frames</a></li>
315 </ul>
316 <ul class="navList" id="allclasses_navbar_bottom">
317 <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
318 </ul>
319 <div>
320 <script type="text/javascript"><!--
321 allClassesLink = document.getElementById("allclasses_navbar_bottom");
322 if(window==top) {
323 allClassesLink.style.display = "block";
324 }
325 else {
326 allClassesLink.style.display = "none";
327 }
328 //-->
329 </script>
330 </div>
331 <div>
332 <ul class="subNavList">
333 <li>Summary:&nbsp;</li>
334 <li>Field&nbsp;|&nbsp;</li>
335 <li>Required&nbsp;|&nbsp;</li>
336 <li><a href="#annotation.type.optional.element.summary">Optional</a></li>
337 </ul>
338 <ul class="subNavList">
339 <li>Detail:&nbsp;</li>
340 <li>Field&nbsp;|&nbsp;</li>
341 <li><a href="#annotation.type.element.detail">Element</a></li>
342 </ul>
343 </div>
344 <a name="skip.navbar.bottom">
345 <!-- -->
346 </a></div>
347 <!-- ======== END OF BOTTOM NAVBAR ======= -->
348 <p class="legalCopy"><small>Copyright &#169; 2019 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p>
349 </body>
350 </html>