Uses of Class
nl.datasteel.crudcraft.codegen.writer.WriteContext
Packages that use WriteContext
Package
Description
-
Uses of WriteContext in nl.datasteel.crudcraft.codegen.writer
Methods in nl.datasteel.crudcraft.codegen.writer that return WriteContextModifier and TypeMethodDescriptionstatic WriteContext
WriteContext.snapshotOf
(WriteContext other) Creates a snapshot of the current context.Methods in nl.datasteel.crudcraft.codegen.writer with parameters of type WriteContextModifier and TypeMethodDescriptionList
<com.squareup.javapoet.JavaFile> DtoGenerator.generate
(ModelDescriptor md, WriteContext ctx) Generates DTO classes for the given model descriptor.List
<com.squareup.javapoet.JavaFile> Generator.generate
(ModelDescriptor model, WriteContext ctx) Builds the java files for the given model without writing them.List
<com.squareup.javapoet.JavaFile> RelationshipMetaGenerator.generate
(ModelDescriptor md, WriteContext ctx) Generates the RelationshipMeta class for the given model descriptor.List
<com.squareup.javapoet.JavaFile> SearchGenerator.generate
(ModelDescriptor md, WriteContext ctx) Generates the SearchRequest DTO and Specification for the given model descriptor.static boolean
Generator.isValidModelDescriptor
(ModelDescriptor model, WriteContext ctx) Performs basic sanity checks on the descriptor before code generation.static WriteContext
WriteContext.snapshotOf
(WriteContext other) Creates a snapshot of the current context.default void
Generator.write
(ModelDescriptor model, WriteContext ctx) Writes the generated files using the provided context.static void
WriterRegistry.writeAll
(ModelDescriptor modelDescriptor, WriteContext ctx) Dispatches generation for the given model descriptor.Constructors in nl.datasteel.crudcraft.codegen.writer with parameters of type WriteContextModifierConstructorDescriptionWriteContext
(WriteContext other) Creates a deep/shallow copy of the context. -
Uses of WriteContext in nl.datasteel.crudcraft.codegen.writer.search
Constructors in nl.datasteel.crudcraft.codegen.writer.search with parameters of type WriteContextModifierConstructorDescriptionConstructs a SearchFieldCollector with the given WriteContext. -
Uses of WriteContext in nl.datasteel.crudcraft.codegen.writer.stubs
Methods in nl.datasteel.crudcraft.codegen.writer.stubs with parameters of type WriteContextModifier and TypeMethodDescriptioncom.squareup.javapoet.JavaFile
ControllerGenerator.build
(ModelDescriptor modelDescriptor, WriteContext ctx) com.squareup.javapoet.JavaFile
MapperGenerator.build
(ModelDescriptor modelDescriptor, WriteContext ctx) Generates the mapper interface for the given model descriptor.com.squareup.javapoet.JavaFile
RepositoryGenerator.build
(ModelDescriptor modelDescriptor, WriteContext ctx) Generates the repository interface for the given model descriptor.com.squareup.javapoet.JavaFile
ServiceGenerator.build
(ModelDescriptor modelDescriptor, WriteContext ctx) Generates the service class for the given model descriptor.com.squareup.javapoet.JavaFile
StubGenerator.build
(ModelDescriptor modelDescriptor, WriteContext ctx) Build the JavaFile representing the stub.default List
<com.squareup.javapoet.JavaFile> StubGenerator.generate
(ModelDescriptor modelDescriptor, WriteContext ctx) Generates the JavaFile for the given model descriptor.void
ControllerGenerator.write
(ModelDescriptor modelDescriptor, WriteContext ctx) default void
StubGenerator.write
(ModelDescriptor modelDescriptor, WriteContext ctx) Writes the generated stub files to the context.