Interface ChainedFileWriterConfiguration


  • public interface ChainedFileWriterConfiguration
    Shared configuration of a ChainedFileWriter, should be the same for all writers to use at a time.
    Since:
    2.0.0
    Author:
    Tony Chemit - chemit@codelutin.com
    • Method Detail

      • getModelType

        String getModelType()
        Returns:
        the type of model used
      • getBasedir

        File getBasedir()
        Returns:
        project base directory
      • getOutputDirectory

        File getOutputDirectory()
        Returns:
        base directory where to generate
      • getExtractDirectory

        File getExtractDirectory()
        Returns:
        base directory where to extract files obtain from class-path
        Since:
        2.1.3
      • isOverwrite

        boolean isOverwrite()
        Returns:
        true if must regenerate files even if they are up to date
      • isOffline

        boolean isOffline()
        Returns:
        true if build is off-line and should not be able to access outside resources.
      • isVerbose

        boolean isVerbose()
        Returns:
        true if build is verbose.
      • isTestPhase

        boolean isTestPhase()
        Returns:
        true if build is done on a test phase.
      • getEncoding

        String getEncoding()
        Returns:
        encoding to use to read and write files
      • getModelHelper

        ModelHelper getModelHelper()
        Returns:
        model helper tool.
        Since:
        2.6.3
      • getProperties

        Map<String,​Object> getProperties()
        Returns:
        properties to pass to writers
      • getClassLoader

        ClassLoader getClassLoader()
        Returns:
        the classloader to use to seek for resources
      • getModelExtensionFile

        File getModelExtensionFile()