Package org.nuiton.eugene.plugin.writer
Class BaseChainedFileWriter
- java.lang.Object
-
- org.nuiton.eugene.writer.AbstractChainedFileWriter
-
- org.nuiton.eugene.plugin.writer.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
-
-
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
-
-
-
-
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 classorg.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
-
-