Class BaseChainedFileWriter

  • All Implemented Interfaces:
    org.nuiton.eugene.writer.ChainedFileWriter
    Direct Known Subclasses:
    BaseChainedFileWriterToMemoryModel, XmiChainedFileWriter, ZargoChainedFileWriter

    public abstract class BaseChainedFileWriter
    extends org.nuiton.eugene.writer.AbstractChainedFileWriter
    Surcharge de l'implentation abstraite pour avoir le logger de la console maven.
    Since:
    2.0.0
    Author:
    tchemit
    • Field Summary

      • Fields inherited from class org.nuiton.eugene.writer.AbstractChainedFileWriter

        authorizedPropertyDescriptions, entries, nextWriter, previousWriter, properties
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BaseChainedFileWriter​(String... propertyNameAndDescriptions)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean acceptObjectModelOrStateModel​(String modelType)  
      protected void copyResources​(org.nuiton.eugene.writer.ChainedFileWriterConfiguration configuration, File outputDirectory, File inputDirectory, File file, Map<File,​List<File>> resourcesByFile)  
      org.apache.maven.plugin.logging.Log getLog()  
      protected void initWriter​(org.nuiton.eugene.writer.ChainedFileWriterConfiguration configuration)  
      void setLog​(org.apache.maven.plugin.logging.Log log)  
      • Methods inherited from class org.nuiton.eugene.writer.AbstractChainedFileWriter

        addEntry, clear, generate, generate, getAuthorizedPropertyDescriptions, getAuthorizedPropertyNames, getEntries, getExtractDirectory, getInputProtocol, getNextWriter, getOutputDirectory, getPreviousWriter, getProperty, getWriterReport, setNextWriter, setWriterReport
      • Methods inherited from interface org.nuiton.eugene.writer.ChainedFileWriter

        acceptInclude, acceptModel, getDefaultIncludes, getDefaultInputDirectory, getDefaultOutputDirectory, getDefaultTestInputDirectory, getDefaultTestOutputDirectory, getInputProtocol, getOutputProtocol
    • Constructor Detail

      • BaseChainedFileWriter

        protected BaseChainedFileWriter​(String... propertyNameAndDescriptions)
    • Method Detail

      • setLog

        public void setLog​(org.apache.maven.plugin.logging.Log log)
      • getLog

        public org.apache.maven.plugin.logging.Log getLog()
      • initWriter

        protected void initWriter​(org.nuiton.eugene.writer.ChainedFileWriterConfiguration configuration)
        Overrides:
        initWriter in class org.nuiton.eugene.writer.AbstractChainedFileWriter
      • acceptObjectModelOrStateModel

        protected boolean acceptObjectModelOrStateModel​(String modelType)
      • copyResources

        protected void copyResources​(org.nuiton.eugene.writer.ChainedFileWriterConfiguration configuration,
                                     File outputDirectory,
                                     File inputDirectory,
                                     File file,
                                     Map<File,​List<File>> resourcesByFile)
                              throws IOException
        Throws:
        IOException