Uses of Interface
org.jboss.logging.processor.model.MessageInterface
-
-
Uses of MessageInterface in org.jboss.logging.processor.apt
Classes in org.jboss.logging.processor.apt that implement MessageInterface Modifier and Type Class Description private static class
MessageInterfaceFactory.AptMessageInterface
Message interface implementation.private static class
MessageInterfaceFactory.LoggerInterface
Fields in org.jboss.logging.processor.apt with type parameters of type MessageInterface Modifier and Type Field Description private java.util.Set<MessageInterface>
MessageInterfaceFactory.AptMessageInterface. extendedInterfaces
Methods in org.jboss.logging.processor.apt that return MessageInterface Modifier and Type Method Description static MessageInterface
MessageInterfaceFactory. of(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.element.TypeElement interfaceElement, java.util.Properties expressionProperties, boolean addGeneratedAnnotation)
Creates a message interface from theTypeElement
specified by theinterfaceElement
parameter.Methods in org.jboss.logging.processor.apt that return types with arguments of type MessageInterface Modifier and Type Method Description java.util.Set<MessageInterface>
MessageInterfaceFactory.AptMessageInterface. extendedInterfaces()
java.util.Set<MessageInterface>
MessageInterfaceFactory.LoggerInterface. extendedInterfaces()
Methods in org.jboss.logging.processor.apt with parameters of type MessageInterface Modifier and Type Method Description private java.util.Map<java.io.File,java.util.Map<MessageMethod,java.lang.String>>
TranslationClassGenerator. allInterfaceTranslations(MessageInterface messageInterface, java.util.List<java.io.File> files)
int
MessageInterfaceFactory.AptMessageInterface. compareTo(MessageInterface o)
int
MessageInterfaceFactory.LoggerInterface. compareTo(MessageInterface o)
private java.util.List<java.io.File>
TranslationClassGenerator. findTranslationFiles(MessageInterface messageInterface)
private void
TranslationFileGenerator. generateDefaultTranslationFile(MessageInterface messageInterface)
Generates a default i18n properties file.private void
TranslationFileGenerator. generateSkeletalTranslationFile(java.lang.String relativePath, java.lang.String fileName, MessageInterface messageInterface)
Generate the translation file containing the given translations.private void
TranslationClassGenerator. generateSourceFileFor(MessageInterface messageInterface, java.io.File translationFile, java.util.Map<MessageMethod,java.lang.String> translations)
Generate a class for the given translation file.private static java.util.Collection<MessageMethod>
ReportFileGenerator. getSortedMessageMethods(MessageInterface messageInterface)
Returns a sorted collection of the message methods on the interface.abstract void
AbstractGenerator. processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)
Processes a type element.void
ImplementationClassGenerator. processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)
void
ReportFileGenerator. processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)
void
TranslationClassGenerator. processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)
void
TranslationFileGenerator. processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)
private java.util.Map<MessageMethod,java.lang.String>
TranslationClassGenerator. validateTranslationMessages(MessageInterface messageInterface, java.io.File file)
Returns only the valid translations message corresponding to the declaredMessageMethod
methods in theMessageBundle
orMessageLogger
interface. -
Uses of MessageInterface in org.jboss.logging.processor.apt.report
Fields in org.jboss.logging.processor.apt.report declared as MessageInterface Modifier and Type Field Description (package private) MessageInterface
ReportWriter. messageInterface
Methods in org.jboss.logging.processor.apt.report with parameters of type MessageInterface Modifier and Type Method Description static ReportWriter
ReportWriter. of(ReportType reportType, MessageInterface messageInterface, java.io.BufferedWriter writer)
Creates a new report writer based on the report type.Constructors in org.jboss.logging.processor.apt.report with parameters of type MessageInterface Constructor Description AsciidocReportWriter(MessageInterface messageInterface, java.io.BufferedWriter writer)
ReportWriter(MessageInterface messageInterface)
XmlReportWriter(MessageInterface messageInterface, java.io.BufferedWriter writer)
-
Uses of MessageInterface in org.jboss.logging.processor.generator.model
Fields in org.jboss.logging.processor.generator.model declared as MessageInterface Modifier and Type Field Description private MessageInterface
ClassModel. messageInterface
Methods in org.jboss.logging.processor.generator.model that return MessageInterface Modifier and Type Method Description MessageInterface
ClassModel. messageInterface()
Returns the message interface being used.Methods in org.jboss.logging.processor.generator.model with parameters of type MessageInterface Modifier and Type Method Description static ClassModel
ClassModelFactory. implementation(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface)
Creates an implementation code model from the message interface.static java.lang.String
ClassModelHelper. implementationClassName(MessageInterface messageInterface)
Creates the implementation class name for the message interface.static java.lang.String
ClassModelHelper. implementationClassName(MessageInterface messageInterface, java.lang.String translationSuffix)
Creates the implementation class name for the message interface.static ClassModel
ClassModelFactory. translation(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface, java.lang.String translationSuffix, java.util.Map<MessageMethod,java.lang.String> translations)
Creates a class model for created translation implementations of the message interface.Constructors in org.jboss.logging.processor.generator.model with parameters of type MessageInterface Constructor Description ClassModel(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface, java.lang.String className, java.lang.String superClassName)
Construct a class model.ImplementationClassModel(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface)
Class constructor.MessageBundleImplementor(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface)
Creates a new message bundle code model.MessageBundleTranslator(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface, java.lang.String className, java.lang.String superClassName, java.lang.String locale, java.util.Map<MessageMethod,java.lang.String> translations)
Create a MessageBundle with super class and interface.MessageLoggerImplementor(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface)
Creates a new message logger code model.MessageLoggerTranslator(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface, java.lang.String className, java.lang.String superClassName, java.lang.String locale, java.util.Map<MessageMethod,java.lang.String> translations)
Create a MessageLogger with super class and interface. -
Uses of MessageInterface in org.jboss.logging.processor.model
Methods in org.jboss.logging.processor.model that return types with arguments of type MessageInterface Modifier and Type Method Description java.util.Set<MessageInterface>
MessageInterface. extendedInterfaces()
A set of qualified interface names this interface extends or an empty set. -
Uses of MessageInterface in org.jboss.logging.processor.validation
Fields in org.jboss.logging.processor.validation with type parameters of type MessageInterface Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.Map<ValidIdRange,MessageInterface>>
IdRangeValidator. processed
Methods in org.jboss.logging.processor.validation that return types with arguments of type MessageInterface Modifier and Type Method Description private java.util.Map<ValidIdRange,MessageInterface>
IdRangeValidator. findAll(MessageInterface messageInterface)
private java.util.Map<ValidIdRange,MessageInterface>
IdRangeValidator. getProcessed(MessageInterface messageInterface)
Methods in org.jboss.logging.processor.validation with parameters of type MessageInterface Modifier and Type Method Description private java.util.Map<ValidIdRange,MessageInterface>
IdRangeValidator. findAll(MessageInterface messageInterface)
private java.util.Set<MessageMethod>
Validator. getAllMethods(MessageInterface messageInterface)
Finds all methods for the given interface, but ignores logger interface methods.private java.util.Map<ValidIdRange,MessageInterface>
IdRangeValidator. getProcessed(MessageInterface messageInterface)
java.util.Collection<ValidationMessage>
IdLengthValidator. validate(MessageInterface messageInterface)
java.util.Collection<ValidationMessage>
IdRangeValidator. validate(MessageInterface messageInterface)
java.util.Collection<ValidationMessage>
MessageIdValidator. validate(MessageInterface messageInterface, MessageMethod messageMethod)
java.util.Collection<ValidationMessage>
Validator. validate(MessageInterface messageInterface)
Validates the message interface and returns a collection of validation messages or an empty collection.private java.util.Collection<ValidationMessage>
Validator. validateCommon(MessageInterface messageInterface, java.util.Set<MessageMethod> messageMethods)
Validate common attributes to all interfaces.
-