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 Details

    • build

      public GeneratorResult build()
      Specified by:
      build in interface io.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é