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
Modifier and TypeMethodDescriptionvoidaddCreatedFile(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 errorbuild()voidIncrements the number of deleted files
-
Method Details
-
build
- Specified by:
buildin interfaceio.vertigo.core.lang.Builder<GeneratorResult>
-
incFileDeleted
public void incFileDeleted()Increments the number of deleted files -
addCreatedFile
Notification de la génération d'un fichier (écrit sur disque).- Parameters:
file- Fichier généré
-
addErrorFile
Increments the number of files in error and logs the error- Parameters:
file- Java file of the error
-
addUpdatedFile
Increments the number of files updated and logs the error- Parameters:
file- Java file of the error
-
addIdenticalFile
Le fichier est identique- Parameters:
file- Fichier généré
-