|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=CLASS) @Documented public @interface ValidIdRange
Sets a range of valid id's allowed on the message id. Both Message.INHERIT and Message.NONE are ignored when validating.
@MessageLogger(projectCode = "EXAMPLE")
@ValidIdRange(min = 100, max = 200)
public interface ExampleLogger {
@LogMessage
@Message(id = 100, value = "Example message")
void example();
}
| Optional Element Summary | |
|---|---|
int |
max
The maximum id allowed in the message id. |
int |
min
The minimum id allowed in the message id. |
public abstract int min
message id. Both Message.INHERIT and Message.NONE are ignored when validating.
public abstract int max
message id. Both Message.INHERIT and Message.NONE are ignored when validating.
|
JBoss Logging I18n Annotation Processor 1.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||