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 classMessageInterfaceFactory.AptMessageInterfaceMessage interface implementation.private static classMessageInterfaceFactory.LoggerInterfaceFields in org.jboss.logging.processor.apt with type parameters of type MessageInterface Modifier and Type Field Description private java.util.Set<MessageInterface>MessageInterfaceFactory.AptMessageInterface. extendedInterfacesMethods in org.jboss.logging.processor.apt that return MessageInterface Modifier and Type Method Description static MessageInterfaceMessageInterfaceFactory. of(javax.annotation.processing.ProcessingEnvironment processingEnv, javax.lang.model.element.TypeElement interfaceElement, java.util.Properties expressionProperties, boolean addGeneratedAnnotation)Creates a message interface from theTypeElementspecified by theinterfaceElementparameter.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)intMessageInterfaceFactory.AptMessageInterface. compareTo(MessageInterface o)intMessageInterfaceFactory.LoggerInterface. compareTo(MessageInterface o)private java.util.List<java.io.File>TranslationClassGenerator. findTranslationFiles(MessageInterface messageInterface)private voidTranslationFileGenerator. generateDefaultTranslationFile(MessageInterface messageInterface)Generates a default i18n properties file.private voidTranslationFileGenerator. generateSkeletalTranslationFile(java.lang.String relativePath, java.lang.String fileName, MessageInterface messageInterface)Generate the translation file containing the given translations.private voidTranslationClassGenerator. 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 voidAbstractGenerator. processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)Processes a type element.voidImplementationClassGenerator. processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)voidReportFileGenerator. processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)voidTranslationClassGenerator. processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)voidTranslationFileGenerator. 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 declaredMessageMethodmethods in theMessageBundleorMessageLoggerinterface. -
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) MessageInterfaceReportWriter. messageInterfaceMethods in org.jboss.logging.processor.apt.report with parameters of type MessageInterface Modifier and Type Method Description static ReportWriterReportWriter. 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 MessageInterfaceClassModel. messageInterfaceMethods in org.jboss.logging.processor.generator.model that return MessageInterface Modifier and Type Method Description MessageInterfaceClassModel. 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 ClassModelClassModelFactory. implementation(javax.annotation.processing.ProcessingEnvironment processingEnv, MessageInterface messageInterface)Creates an implementation code model from the message interface.static java.lang.StringClassModelHelper. implementationClassName(MessageInterface messageInterface)Creates the implementation class name for the message interface.static java.lang.StringClassModelHelper. implementationClassName(MessageInterface messageInterface, java.lang.String translationSuffix)Creates the implementation class name for the message interface.static ClassModelClassModelFactory. 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. processedMethods 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.
-