Class AvroPlugin

java.lang.Object
be.appify.prefab.avro.processor.AvroPlugin
All Implemented Interfaces:
be.appify.prefab.processor.PrefabPlugin

public class AvroPlugin extends Object implements be.appify.prefab.processor.PrefabPlugin
A plugin for generating Avro converters and schema factories for events annotated with Event with Avro serialization.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initContext(be.appify.prefab.processor.PrefabContext context)
     
    void
    writeAdditionalFiles(List<be.appify.prefab.processor.ClassManifest> manifests)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface be.appify.prefab.processor.PrefabPlugin

    avroSchemaOf, dataTypeOf, fromAvroValueOf, getPolymorphicServiceDependencies, getServiceDependencies, mapRequestParameter, requestBodyParameter, requestMethodParameter, toAvroValueOf, writeAdditionalFiles, writeController, writeEventFiles, writeGlobalFiles, writePolymorphicController, writePolymorphicService, writePolymorphicTestClient, writeRepository, writeService, writeTestClient
  • Constructor Details

    • AvroPlugin

      public AvroPlugin()
  • Method Details

    • initContext

      public void initContext(be.appify.prefab.processor.PrefabContext context)
      Specified by:
      initContext in interface be.appify.prefab.processor.PrefabPlugin
    • writeAdditionalFiles

      public void writeAdditionalFiles(List<be.appify.prefab.processor.ClassManifest> manifests)
      Specified by:
      writeAdditionalFiles in interface be.appify.prefab.processor.PrefabPlugin