public interface MessageInterface extends Comparable<MessageInterface>, MessageObject, MessageObjectType
Modifier and Type | Method and Description |
---|---|
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. |
boolean |
isLoggerInterface()
|
boolean |
isMessageBundle()
Returns
true if the interface is annotated as a message bundle, otherwise false . |
boolean |
isMessageLogger()
Returns
true if the interface is annotated as a message logger, otherwise false . |
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()
|
String |
simpleName()
The name of the interface without the package.
|
compareTo
isAssignableFrom, isSameAs, isSubtypeOf, type
reference
boolean 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 isLoggerInterface()
returns true
.String name()
name
in interface MessageObject
String packageName()
String simpleName()
String loggingFQCN()
name()
.boolean isMessageLogger()
true
if the interface is annotated as a message logger, otherwise false
.true
if a message logger, otherwise false
.boolean isMessageBundle()
true
if the interface is annotated as a message bundle, otherwise false
.true
if a message bundle, otherwise false
.boolean isLoggerInterface()
MessageInterface
and will only return true
if this is a
logger interface
. Otherwise false
is
returned.
Note: isMessageBundle()
and isMessageLogger()
will return false
if this is
true
.true
if this is a logger interface, otherwise false
.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.