Uses of Interface
org.jboss.logging.processor.model.MessageInterface
Packages that use MessageInterface
Package
Description
-
Uses of MessageInterface in org.jboss.logging.processor.apt
Classes in org.jboss.logging.processor.apt that implement MessageInterfaceModifier and TypeClassDescriptionprivate static class
Message interface implementation.private static class
Fields in org.jboss.logging.processor.apt with type parameters of type MessageInterfaceModifier and TypeFieldDescriptionprivate final Set<MessageInterface>
MessageInterfaceFactory.AptMessageInterface.extendedInterfaces
Methods in org.jboss.logging.processor.apt that return MessageInterfaceModifier and TypeMethodDescriptionstatic MessageInterface
MessageInterfaceFactory.of
(ProcessingEnvironment processingEnv, TypeElement interfaceElement, 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 MessageInterfaceModifier and TypeMethodDescriptionMessageInterfaceFactory.AptMessageInterface.extendedInterfaces()
MessageInterfaceFactory.LoggerInterface.extendedInterfaces()
Methods in org.jboss.logging.processor.apt with parameters of type MessageInterfaceModifier and TypeMethodDescriptionprivate Map<File,
Map<MessageMethod, String>> TranslationClassGenerator.allInterfaceTranslations
(MessageInterface messageInterface, List<File> files) int
MessageInterfaceFactory.AptMessageInterface.compareTo
(MessageInterface o) int
MessageInterfaceFactory.LoggerInterface.compareTo
(MessageInterface o) TranslationClassGenerator.findTranslationFiles
(MessageInterface messageInterface) private void
TranslationFileGenerator.generateDefaultTranslationFile
(MessageInterface messageInterface) Generates a default i18n properties file.private void
TranslationFileGenerator.generateSkeletalTranslationFile
(String relativePath, String fileName, MessageInterface messageInterface) Generate the translation file containing the given translations.private void
TranslationClassGenerator.generateSourceFileFor
(MessageInterface messageInterface, File translationFile, Map<MessageMethod, String> translations) Generate a class for the given translation file.private static Collection<MessageMethod>
ReportFileGenerator.getSortedMessageMethods
(MessageInterface messageInterface) Returns a sorted collection of the message methods on the interface.abstract void
AbstractGenerator.processTypeElement
(TypeElement annotation, TypeElement element, MessageInterface messageInterface) Processes a type element.void
ImplementationClassGenerator.processTypeElement
(TypeElement annotation, TypeElement element, MessageInterface messageInterface) void
ReportFileGenerator.processTypeElement
(TypeElement annotation, TypeElement element, MessageInterface messageInterface) void
TranslationClassGenerator.processTypeElement
(TypeElement annotation, TypeElement element, MessageInterface messageInterface) void
TranslationFileGenerator.processTypeElement
(TypeElement annotation, TypeElement element, MessageInterface messageInterface) private Map<MessageMethod,
String> TranslationClassGenerator.validateTranslationMessages
(MessageInterface messageInterface, 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 MessageInterfaceModifier and TypeFieldDescription(package private) final MessageInterface
ReportWriter.messageInterface
Methods in org.jboss.logging.processor.apt.report with parameters of type MessageInterfaceModifier and TypeMethodDescriptionstatic ReportWriter
ReportWriter.of
(ReportType reportType, MessageInterface messageInterface, BufferedWriter writer) Creates a new report writer based on the report type.Constructors in org.jboss.logging.processor.apt.report with parameters of type MessageInterfaceModifierConstructorDescription(package private)
AsciidocReportWriter
(MessageInterface messageInterface, BufferedWriter writer) (package private)
ReportWriter
(MessageInterface messageInterface) (package private)
XmlReportWriter
(MessageInterface messageInterface, BufferedWriter writer) -
Uses of MessageInterface in org.jboss.logging.processor.generator.model
Fields in org.jboss.logging.processor.generator.model declared as MessageInterfaceMethods in org.jboss.logging.processor.generator.model that return MessageInterfaceModifier and TypeMethodDescriptionfinal MessageInterface
ClassModel.messageInterface()
Returns the message interface being used.Methods in org.jboss.logging.processor.generator.model with parameters of type MessageInterfaceModifier and TypeMethodDescriptionstatic ClassModel
ClassModelFactory.implementation
(ProcessingEnvironment processingEnv, MessageInterface messageInterface) Creates an implementation code model from the message interface.static String
ClassModelHelper.implementationClassName
(MessageInterface messageInterface) Creates the implementation class name for the message interface.static String
ClassModelHelper.implementationClassName
(MessageInterface messageInterface, String translationSuffix) Creates the implementation class name for the message interface.static ClassModel
ClassModelFactory.translation
(ProcessingEnvironment processingEnv, MessageInterface messageInterface, String translationSuffix, Map<MessageMethod, 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 MessageInterfaceModifierConstructorDescription(package private)
ClassModel
(ProcessingEnvironment processingEnv, MessageInterface messageInterface, String className, String superClassName) Construct a class model.(package private)
ImplementationClassModel
(ProcessingEnvironment processingEnv, MessageInterface messageInterface) Class constructor.MessageBundleImplementor
(ProcessingEnvironment processingEnv, MessageInterface messageInterface) Creates a new message bundle code model.MessageBundleTranslator
(ProcessingEnvironment processingEnv, MessageInterface messageInterface, String className, String superClassName, String locale, Map<MessageMethod, String> translations) Create a MessageBundle with super class and interface.MessageLoggerImplementor
(ProcessingEnvironment processingEnv, MessageInterface messageInterface) Creates a new message logger code model.MessageLoggerTranslator
(ProcessingEnvironment processingEnv, MessageInterface messageInterface, String className, String superClassName, String locale, Map<MessageMethod, 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 MessageInterfaceModifier and TypeMethodDescriptionMessageInterface.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 MessageInterfaceModifier and TypeFieldDescriptionprivate final Map<String,
Map<ValidIdRange, MessageInterface>> IdRangeValidator.processed
Methods in org.jboss.logging.processor.validation that return types with arguments of type MessageInterfaceModifier and TypeMethodDescriptionprivate Map<ValidIdRange,
MessageInterface> IdRangeValidator.findAll
(MessageInterface messageInterface) private Map<ValidIdRange,
MessageInterface> IdRangeValidator.getProcessed
(MessageInterface messageInterface) Methods in org.jboss.logging.processor.validation with parameters of type MessageInterfaceModifier and TypeMethodDescriptionprivate Map<ValidIdRange,
MessageInterface> IdRangeValidator.findAll
(MessageInterface messageInterface) private Set<MessageMethod>
Validator.getAllMethods
(MessageInterface messageInterface) Finds all methods for the given interface, but ignores logger interface methods.private Map<ValidIdRange,
MessageInterface> IdRangeValidator.getProcessed
(MessageInterface messageInterface) IdLengthValidator.validate
(MessageInterface messageInterface) IdRangeValidator.validate
(MessageInterface messageInterface) MessageIdValidator.validate
(MessageInterface messageInterface, MessageMethod messageMethod) final Collection<ValidationMessage>
Validator.validate
(MessageInterface messageInterface) Validates the message interface and returns a collection of validation messages or an empty collection.private Collection<ValidationMessage>
Validator.validateCommon
(MessageInterface messageInterface, Set<MessageMethod> messageMethods) Validate common attributes to all interfaces.