Package org.nuiton.eugene.writer
Interface ChainedFileWriterConfiguration
-
public interface ChainedFileWriterConfiguration
Shared configuration of aChainedFileWriter
, should be the same for all writers to use at a time.- Since:
- 2.0.0
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description File
getBasedir()
ClassLoader
getClassLoader()
String
getEncoding()
File
getExtractDirectory()
File
getModelExtensionFile()
ModelHelper
getModelHelper()
String
getModelType()
File
getOutputDirectory()
Map<String,Object>
getProperties()
Map<String,ChainedFileWriter>
getWriters()
boolean
isOffline()
boolean
isOverwrite()
boolean
isTestPhase()
boolean
isVerbose()
-
-
-
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
-
getWriters
Map<String,ChainedFileWriter> getWriters()
- Returns:
- the universe of availables writers
-
getModelHelper
ModelHelper getModelHelper()
- Returns:
- model helper tool.
- Since:
- 2.6.3
-
getClassLoader
ClassLoader getClassLoader()
- Returns:
- the classloader to use to seek for resources
-
getModelExtensionFile
File getModelExtensionFile()
-
-