Package io.vertigo.studio.generator
Class GeneratorResultBuilder
- java.lang.Object
-
- io.vertigo.studio.generator.GeneratorResultBuilder
-
- All Implemented Interfaces:
io.vertigo.core.lang.Builder<GeneratorResult>
public final class GeneratorResultBuilder extends Object implements io.vertigo.core.lang.Builder<GeneratorResult>
Résultat de la génération.- Author:
- pchretien, mlaroche
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCreatedFile(File file)Notification de la génération d'un fichier (écrit sur disque).voidaddErrorFile(File file)Increments the number of files in error and logs the errorvoidaddIdenticalFile(File file)Le fichier est identiquevoidaddUpdatedFile(File file)Increments the number of files updated and logs the errorGeneratorResultbuild()voidincFileDeleted()Increments the number of deleted files
-
-
-
Method Detail
-
build
public GeneratorResult build()
- Specified by:
buildin interfaceio.vertigo.core.lang.Builder<GeneratorResult>
-
incFileDeleted
public void incFileDeleted()
Increments the number of deleted files
-
addCreatedFile
public void addCreatedFile(File file)
Notification de la génération d'un fichier (écrit sur disque).- Parameters:
file- Fichier généré
-
addErrorFile
public void addErrorFile(File file)
Increments the number of files in error and logs the error- Parameters:
file- Java file of the error
-
addUpdatedFile
public void addUpdatedFile(File file)
Increments the number of files updated and logs the error- Parameters:
file- Java file of the error
-
addIdenticalFile
public void addIdenticalFile(File file)
Le fichier est identique- Parameters:
file- Fichier généré
-
-