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:
ChainedFileWriter
- Direct Known Subclasses:
BaseChainedFileWriterToMemoryModel,XmiChainedFileWriter,ZargoChainedFileWriter
public abstract class BaseChainedFileWriter extends 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 protectedBaseChainedFileWriter(String... propertyNameAndDescriptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanacceptObjectModelOrStateModel(String modelType)protected voidcopyResources(ChainedFileWriterConfiguration configuration, File outputDirectory, File inputDirectory, File file, Map<File,List<File>> resourcesByFile)org.apache.maven.plugin.logging.LoggetLog()protected voidinitWriter(ChainedFileWriterConfiguration configuration)voidsetLog(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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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(ChainedFileWriterConfiguration configuration)
- Overrides:
initWriterin classAbstractChainedFileWriter
-
acceptObjectModelOrStateModel
protected boolean acceptObjectModelOrStateModel(String modelType)
-
copyResources
protected void copyResources(ChainedFileWriterConfiguration configuration, File outputDirectory, File inputDirectory, File file, Map<File,List<File>> resourcesByFile) throws IOException
- Throws:
IOException
-
-