AnnotatedConstruct, ClassType, Comparable<MessageInterface>, DelegatingElement, DelegatingTypeElement, Element, JavaDocComment, Parameterizable, QualifiedNameable, TypeElementpublic interface MessageInterface extends Comparable<MessageInterface>, ClassType, JavaDocComment, DelegatingTypeElement
| Modifier and Type | Method | Description |
|---|---|---|
default Properties |
expressionProperties() |
The properties used to resolve expressions.
|
Set<MessageInterface> |
extendedInterfaces() |
A set of qualified interface names this interface extends or an empty set.
|
boolean |
extendsLoggerInterface() |
Checks the interface to see if the
logger interface is being extended in
this interface. |
default TypeElement |
generatedAnnotation() |
Returns the type to use for the
@Generated annotation. |
int |
getIdLength() |
The length to pad the id with.
|
String |
loggingFQCN() |
The fully qualified class name to use for log methods.
|
Collection<MessageMethod> |
methods() |
A collection of all the methods this interface needs to implement.
|
String |
name() |
The qualified name of the message interface.
|
String |
packageName() |
The package name of the message interface.
|
String |
projectCode() |
The project code for the message interface or
null if not annotated with
@MessageBundle or @MessageLogger. |
String |
simpleName() |
The name of the interface without the package.
|
List<org.jboss.logging.annotations.ValidIdRange> |
validIdRanges() |
Returns a list of
valid id ranges. |
getAnnotationsByTypeisAssignableFrom, isSameAs, isSubtypeOfcompareToaccept, asType, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getKind, getModifiers, isAnnotatedWithgetDelegate, getEnclosedElements, getEnclosingElement, getInterfaces, getNestingKind, getQualifiedName, getSimpleName, getSuperclass, getTypeParametersaccept, asType, equals, getAnnotation, getAnnotationMirrors, getKind, getModifiers, hashCodegetCommentboolean extendsLoggerInterface()
logger interface is being extended in
this interface.true if this interface extends the logger interface, otherwise false.Set<MessageInterface> extendedInterfaces()
Collection<MessageMethod> methods()
String projectCode()
null if not annotated with
@MessageBundle or @MessageLogger.null if not annotated with
@MessageBundle or @MessageLoggerString name()
String packageName()
String simpleName()
String loggingFQCN()
name().List<org.jboss.logging.annotations.ValidIdRange> validIdRanges()
valid id ranges.int getIdLength()
default TypeElement generatedAnnotation()
@Generated annotation. This may return null of the implementation
should not be annotated.null if no annotation is wanteddefault Properties expressionProperties()
Copyright © 2018. All rights reserved.