Class TemplatedGenerator.Builder
- java.lang.Object
-
- org.drools.model.project.codegen.template.TemplatedGenerator.Builder
-
- Enclosing class:
- TemplatedGenerator
public static class TemplatedGenerator.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringfallbackContextprotected StringpackageNameprotected StringtargetTypeNameprotected StringtemplateBasePath
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplatedGeneratorbuild(DroolsModelBuildContext context, String templateName)TemplatedGenerator.BuilderwithFallbackContext(String fallbackContext)TemplatedGenerator.BuilderwithPackageName(String packageName)TemplatedGenerator.BuilderwithTargetTypeName(String targetTypeName)TemplatedGenerator.BuilderwithTemplateBasePath(String templateBasePath)
-
-
-
Method Detail
-
withTemplateBasePath
public TemplatedGenerator.Builder withTemplateBasePath(String templateBasePath)
-
withPackageName
public TemplatedGenerator.Builder withPackageName(String packageName)
-
withTargetTypeName
public TemplatedGenerator.Builder withTargetTypeName(String targetTypeName)
-
withFallbackContext
public TemplatedGenerator.Builder withFallbackContext(String fallbackContext)
-
build
public TemplatedGenerator build(DroolsModelBuildContext context, String templateName)
-
-