Package io.vertigo.studio.impl.generator
Class FileGeneratorBuilder
java.lang.Object
io.vertigo.studio.impl.generator.FileGeneratorBuilder
- All Implemented Interfaces:
io.vertigo.core.lang.Builder<FileGenerator>
public final class FileGeneratorBuilder
extends Object
implements io.vertigo.core.lang.Builder<FileGenerator>
This class provides a way to create a FileFenerator.
- Author:
- pchretien, mlaroche
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withEncoding(String encoding) withFileName(String fileName) withGenSubDir(String genSubDir) withPackageName(String packageName) withTargetGenDir(String targetGenDir) withTemplateName(Class relativeClass, String templateName)
-
Method Details
-
withModel
- Parameters:
model- the model- Returns:
- this builder
-
withFileName
- Parameters:
fileName- the name of the file including extension- Returns:
- this builder
-
withPackageName
- Parameters:
packageName- the name of the package- Returns:
- this builder
-
withEncoding
- Parameters:
packageName- the name of the package- Returns:
- this builder
-
withTemplateName
- Parameters:
templateName- the name of the template- Returns:
- this builder
-
withTargetGenDir
- Parameters:
targetGenDir- Repertoire de destination- Returns:
- this builder
-
withGenSubDir
- Parameters:
genSubDir- Nom subdir de génération- Returns:
- this builder
-
build
- Specified by:
buildin interfaceio.vertigo.core.lang.Builder<FileGenerator>
-