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 classMessage interface implementation.private static classFields in org.jboss.logging.processor.apt with type parameters of type MessageInterfaceModifier and TypeFieldDescriptionprivate final Set<MessageInterface> MessageInterfaceFactory.AptMessageInterface.extendedInterfacesMethods in org.jboss.logging.processor.apt that return MessageInterfaceModifier and TypeMethodDescriptionstatic MessageInterfaceMessageInterfaceFactory.of(ProcessingEnvironment processingEnv, TypeElement interfaceElement, 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 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) intMessageInterfaceFactory.AptMessageInterface.compareTo(MessageInterface o) intMessageInterfaceFactory.LoggerInterface.compareTo(MessageInterface o) TranslationClassGenerator.findTranslationFiles(MessageInterface messageInterface) private voidTranslationFileGenerator.generateDefaultTranslationFile(MessageInterface messageInterface) Generates a default i18n properties file.private voidTranslationFileGenerator.generateSkeletalTranslationFile(String relativePath, String fileName, MessageInterface messageInterface) Generate the translation file containing the given translations.private voidTranslationClassGenerator.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 voidAbstractGenerator.processTypeElement(TypeElement annotation, TypeElement element, MessageInterface messageInterface) Processes a type element.voidImplementationClassGenerator.processTypeElement(TypeElement annotation, TypeElement element, MessageInterface messageInterface) voidReportFileGenerator.processTypeElement(TypeElement annotation, TypeElement element, MessageInterface messageInterface) voidTranslationClassGenerator.processTypeElement(TypeElement annotation, TypeElement element, MessageInterface messageInterface) voidTranslationFileGenerator.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 declaredMessageMethodmethods in theMessageBundleorMessageLoggerinterface. -
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 MessageInterfaceReportWriter.messageInterfaceMethods in org.jboss.logging.processor.apt.report with parameters of type MessageInterfaceModifier and TypeMethodDescriptionstatic ReportWriterReportWriter.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 MessageInterfaceClassModel.messageInterface()Returns the message interface being used.Methods in org.jboss.logging.processor.generator.model with parameters of type MessageInterfaceModifier and TypeMethodDescriptionstatic ClassModelClassModelFactory.implementation(ProcessingEnvironment processingEnv, MessageInterface messageInterface) Creates an implementation code model from the message interface.static StringClassModelHelper.implementationClassName(MessageInterface messageInterface) Creates the implementation class name for the message interface.static StringClassModelHelper.implementationClassName(MessageInterface messageInterface, String translationSuffix) Creates the implementation class name for the message interface.static ClassModelClassModelFactory.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.processedMethods 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.