Interface CustomAnnotationTemplateResponse


public interface CustomAnnotationTemplateResponse
  • Method Details

    • request

      The request that was processed.
      Returns:
      the request that was processed
    • generatedSourceCode

      Map<TypeName,String> generatedSourceCode()
      Any source that should be code generated.
      Returns:
      map of generated type name to body of the source to be generated
    • generatedResources

      Map<TypedElementName,String> generatedResources()
      Any generated resources should be generated.
      Returns:
      map of generated type name (which is really just a directory path under resources) to the resource to be generated
    • aggregate

      static io.helidon.pico.tools.DefaultCustomAnnotationTemplateResponse.Builder aggregate(CustomAnnotationTemplateRequest request, CustomAnnotationTemplateResponse... responses)
      Aggregates the responses given to one response.
      Parameters:
      request - the request being processed
      responses - the responses to aggregate into one response instance
      Returns:
      the aggregated response