Debian Codegraph @

docs/apidocs/org/jboss/logging/annotations/Message.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>Message (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="Message (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/Message.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/LogMessage.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/Message.Format.html" title="enum 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/Message.html" target="_top">Frames</a></li>
51 <li><a href="Message.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><a href="#annotation.type.field.summary">Field</a>&nbsp;|&nbsp;</li>
72 <li><a href="#annotation.type.required.element.summary">Required</a>&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><a href="#annotation.type.field.detail">Field</a>&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 Message" class="title">Annotation Type Message</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>)
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">Message</span></pre>
100 <div class="block">Assigns a message string to a resource method. The method arguments are used to supply the positional parameter
101 values for the method.</div>
102 <dl>
103 <dt><span class="simpleTagLabel">Author:</span></dt>
104 <dd><a href="mailto:[email protected]">David M. Lloyd</a></dd>
105 </dl>
106 </li>
107 </ul>
108 </div>
109 <div class="summary">
110 <ul class="blockList">
111 <li class="blockList">
112 <!-- =========== ANNOTATION TYPE FIELD SUMMARY =========== -->
113 <ul class="blockList">
114 <li class="blockList"><a name="annotation.type.field.summary">
115 <!-- -->
116 </a>
117 <h3>Field Summary</h3>
118 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
119 <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
120 <tr>
121 <th class="colFirst" scope="col">Modifier and Type</th>
122 <th class="colLast" scope="col">Fields and Description</th>
123 </tr>
124 <tr class="altColor">
125 <td class="colFirst"><code>static int</code></td>
126 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/Message.html#INHERIT">INHERIT</a></span></code>
127 <div class="block">Indicates that this message should inherit the ID from another message with the same name.</div>
128 </td>
129 </tr>
130 <tr class="rowColor">
131 <td class="colFirst"><code>static int</code></td>
132 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/Message.html#NONE">NONE</a></span></code>
133 <div class="block">Indicates that this message has no ID.</div>
134 </td>
135 </tr>
136 </table>
137 </li>
138 </ul>
139 <!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->
140 <ul class="blockList">
141 <li class="blockList"><a name="annotation.type.required.element.summary">
142 <!-- -->
143 </a>
144 <h3>Required Element Summary</h3>
145 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Required Element Summary table, listing required elements, and an explanation">
146 <caption><span>Required Elements</span><span class="tabEnd">&nbsp;</span></caption>
147 <tr>
148 <th class="colFirst" scope="col">Modifier and Type</th>
149 <th class="colLast" scope="col">Required Element and Description</th>
150 </tr>
151 <tr class="altColor">
152 <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>
153 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/Message.html#value--">value</a></span></code>
154 <div class="block">The default format string of this message.</div>
155 </td>
156 </tr>
157 </table>
158 </li>
159 </ul>
160 <!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
161 <ul class="blockList">
162 <li class="blockList"><a name="annotation.type.optional.element.summary">
163 <!-- -->
164 </a>
165 <h3>Optional Element Summary</h3>
166 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
167 <caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
168 <tr>
169 <th class="colFirst" scope="col">Modifier and Type</th>
170 <th class="colLast" scope="col">Optional Element and Description</th>
171 </tr>
172 <tr class="altColor">
173 <td class="colFirst"><code><a href="../../../../org/jboss/logging/annotations/Message.Format.html" title="enum in org.jboss.logging.annotations">Message.Format</a></code></td>
174 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/Message.html#format--">format</a></span></code>
175 <div class="block">The format type of this method (defaults to <a href="../../../../org/jboss/logging/annotations/Message.Format.html#PRINTF"><code>Message.Format.PRINTF</code></a>).</div>
176 </td>
177 </tr>
178 <tr class="rowColor">
179 <td class="colFirst"><code>int</code></td>
180 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/Message.html#id--">id</a></span></code>
181 <div class="block">The message ID number.</div>
182 </td>
183 </tr>
184 </table>
185 </li>
186 </ul>
187 </li>
188 </ul>
189 </div>
190 <div class="details">
191 <ul class="blockList">
192 <li class="blockList">
193 <!-- ============ ANNOTATION TYPE FIELD DETAIL =========== -->
194 <ul class="blockList">
195 <li class="blockList"><a name="annotation.type.field.detail">
196 <!-- -->
197 </a>
198 <h3>Field Detail</h3>
199 <a name="NONE">
200 <!-- -->
201 </a>
202 <ul class="blockList">
203 <li class="blockList">
204 <h4>NONE</h4>
205 <pre>public static final&nbsp;int&nbsp;NONE</pre>
206 <div class="block">Indicates that this message has no ID.</div>
207 </li>
208 </ul>
209 </li>
210 </ul>
211 <ul class="blockList">
212 <li class="blockList"><a name="INHERIT">
213 <!-- -->
214 </a>
215 <ul class="blockListLast">
216 <li class="blockList">
217 <h4>INHERIT</h4>
218 <pre>public static final&nbsp;int&nbsp;INHERIT</pre>
219 <div class="block">Indicates that this message should inherit the ID from another message with the same name.</div>
220 </li>
221 </ul>
222 </li>
223 </ul>
224 <!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
225 <ul class="blockList">
226 <li class="blockList"><a name="annotation.type.element.detail">
227 <!-- -->
228 </a>
229 <h3>Element Detail</h3>
230 <a name="value--">
231 <!-- -->
232 </a>
233 <ul class="blockListLast">
234 <li class="blockList">
235 <h4>value</h4>
236 <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;value</pre>
237 <div class="block">The default format string of this message.
238 <p>
239 Expressions in the form of <code>${property.key:default-value}</code> can be used for the value. If the property key is
240 prefixed with <code>sys.</code> a <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
241 prefixed with <code>env.</code> an <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
242 the <code>org.jboss.logging.tools.expressionProperties</code> processor argument is used to specify the path the properties
243 file which contains the values for the expressions.
244 </p></div>
245 <dl>
246 <dt><span class="returnLabel">Returns:</span></dt>
247 <dd>the format string</dd>
248 </dl>
249 </li>
250 </ul>
251 </li>
252 </ul>
253 <!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
254 <ul class="blockList">
255 <li class="blockList"><a name="id--">
256 <!-- -->
257 </a>
258 <ul class="blockList">
259 <li class="blockList">
260 <h4>id</h4>
261 <pre>public abstract&nbsp;int&nbsp;id</pre>
262 <div class="block">The message ID number. Only one message with a given name may specify an ID other than <a href="../../../../org/jboss/logging/annotations/Message.html#INHERIT"><code>INHERIT</code></a>.</div>
263 <dl>
264 <dt><span class="returnLabel">Returns:</span></dt>
265 <dd>the message ID number</dd>
266 </dl>
267 <dl>
268 <dt>Default:</dt>
269 <dd>-1</dd>
270 </dl>
271 </li>
272 </ul>
273 </li>
274 </ul>
275 <ul class="blockList">
276 <li class="blockList"><a name="format--">
277 <!-- -->
278 </a>
279 <ul class="blockListLast">
280 <li class="blockList">
281 <h4>format</h4>
282 <pre>public abstract&nbsp;<a href="../../../../org/jboss/logging/annotations/Message.Format.html" title="enum in org.jboss.logging.annotations">Message.Format</a>&nbsp;format</pre>
283 <div class="block">The format type of this method (defaults to <a href="../../../../org/jboss/logging/annotations/Message.Format.html#PRINTF"><code>Message.Format.PRINTF</code></a>).</div>
284 <dl>
285 <dt><span class="returnLabel">Returns:</span></dt>
286 <dd>the format type</dd>
287 </dl>
288 <dl>
289 <dt>Default:</dt>
290 <dd>org.jboss.logging.annotations.Message.Format.PRINTF</dd>
291 </dl>
292 </li>
293 </ul>
294 </li>
295 </ul>
296 </li>
297 </ul>
298 </div>
299 </div>
300 <!-- ========= END OF CLASS DATA ========= -->
301 <!-- ======= START OF BOTTOM NAVBAR ====== -->
302 <div class="bottomNav"><a name="navbar.bottom">
303 <!-- -->
304 </a>
305 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
306 <a name="navbar.bottom.firstrow">
307 <!-- -->
308 </a>
309 <ul class="navList" title="Navigation">
310 <li><a href="../../../../org/jboss/logging/annotations/package-summary.html">Package</a></li>
311 <li class="navBarCell1Rev">Class</li>
312 <li><a href="class-use/Message.html">Use</a></li>
313 <li><a href="package-tree.html">Tree</a></li>
314 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
315 <li><a href="../../../../index-all.html">Index</a></li>
316 <li><a href="../../../../help-doc.html">Help</a></li>
317 </ul>
318 <div class="aboutLanguage">JBoss Logging Tools, 2.2.1.Final</div>
319 </div>
320 <div class="subNav">
321 <ul class="navList">
322 <li><a href="../../../../org/jboss/logging/annotations/LogMessage.html" title="annotation in org.jboss.logging.annotations"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
323 <li><a href="../../../../org/jboss/logging/annotations/Message.Format.html" title="enum in org.jboss.logging.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
324 </ul>
325 <ul class="navList">
326 <li><a href="../../../../index.html?org/jboss/logging/annotations/Message.html" target="_top">Frames</a></li>
327 <li><a href="Message.html" target="_top">No&nbsp;Frames</a></li>
328 </ul>
329 <ul class="navList" id="allclasses_navbar_bottom">
330 <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
331 </ul>
332 <div>
333 <script type="text/javascript"><!--
334 allClassesLink = document.getElementById("allclasses_navbar_bottom");
335 if(window==top) {
336 allClassesLink.style.display = "block";
337 }
338 else {
339 allClassesLink.style.display = "none";
340 }
341 //-->
342 </script>
343 </div>
344 <div>
345 <ul class="subNavList">
346 <li>Summary:&nbsp;</li>
347 <li><a href="#annotation.type.field.summary">Field</a>&nbsp;|&nbsp;</li>
348 <li><a href="#annotation.type.required.element.summary">Required</a>&nbsp;|&nbsp;</li>
349 <li><a href="#annotation.type.optional.element.summary">Optional</a></li>
350 </ul>
351 <ul class="subNavList">
352 <li>Detail:&nbsp;</li>
353 <li><a href="#annotation.type.field.detail">Field</a>&nbsp;|&nbsp;</li>
354 <li><a href="#annotation.type.element.detail">Element</a></li>
355 </ul>
356 </div>
357 <a name="skip.navbar.bottom">
358 <!-- -->
359 </a></div>
360 <!-- ======== END OF BOTTOM NAVBAR ======= -->
361 <p class="legalCopy"><small>Copyright &#169; 2019 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p>
362 </body>
363 </html>