Class RestDslSourceCodeGenerator<T>
- java.lang.Object
-
- org.apache.camel.generator.swagger.RestDslGenerator<RestDslSourceCodeGenerator<T>>
-
- org.apache.camel.generator.swagger.RestDslSourceCodeGenerator<T>
-
public abstract class RestDslSourceCodeGenerator<T> extends RestDslGenerator<RestDslSourceCodeGenerator<T>>
Generates Java source code
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidgenerate(T destination)RestDslSourceCodeGenerator<T>withClassName(String className)RestDslSourceCodeGenerator<T>withIndent(String indent)RestDslSourceCodeGenerator<T>withoutSourceCodeTimestamps()RestDslSourceCodeGenerator<T>withPackageName(String packageName)RestDslSourceCodeGenerator<T>withSourceCodeTimestamps()-
Methods inherited from class org.apache.camel.generator.swagger.RestDslGenerator
asSpringBootProject, asSpringComponent, toAppendable, toDefinition, toFiler, toPath, toXml, withApiContextPath, withClientRequestValidation, withDestinationGenerator, withOperationFilter, withOperationFilter, withRestComponent, withRestContextPath
-
-
-
-
Method Detail
-
generate
public abstract void generate(T destination) throws IOException
- Throws:
IOException
-
withClassName
public RestDslSourceCodeGenerator<T> withClassName(String className)
-
withIndent
public RestDslSourceCodeGenerator<T> withIndent(String indent)
-
withoutSourceCodeTimestamps
public RestDslSourceCodeGenerator<T> withoutSourceCodeTimestamps()
-
withPackageName
public RestDslSourceCodeGenerator<T> withPackageName(String packageName)
-
withSourceCodeTimestamps
public RestDslSourceCodeGenerator<T> withSourceCodeTimestamps()
-
-