Module io.helidon.pico.tools
Package io.helidon.pico.tools
Interface CustomAnnotationTemplateResponse
public interface CustomAnnotationTemplateResponse
The response from
CustomAnnotationTemplateCreator.create(CustomAnnotationTemplateRequest).-
Method Summary
Modifier and TypeMethodDescriptionstatic io.helidon.pico.tools.DefaultCustomAnnotationTemplateResponse.Builderaggregate(CustomAnnotationTemplateRequest request, CustomAnnotationTemplateResponse... responses) Aggregates the responses given to one response.Any generated resources should be generated.Any source that should be code generated.request()The request that was processed.
-
Method Details
-
request
CustomAnnotationTemplateRequest request()The request that was processed.- Returns:
- the request that was processed
-
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 processedresponses- the responses to aggregate into one response instance- Returns:
- the aggregated response
-