message id. Both Message#INHERIT and Message#NONE are ignored when validating.Note
Message id's from inherited interfaces are not validated within the range provided. Super interfaces would need their own annotation for range validation.
@MessageLogger(projectCode = "EXAMPLE")
@ValidIdRange(min = 100, max = 200)
public interface ExampleLogger {
@LogMessage
@Message(id = 100, value = "Example message")
void example();
}
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int |
| max | back to summary |
|---|---|
| public int max() The maximum id allowed in the
| |
| min | back to summary |
|---|---|
| public int min() The minimum id allowed in the
| |