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:
- ModelChainedFileWriter, 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
| 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 |
BaseChainedFileWriter
protected BaseChainedFileWriter(String... propertyNameAndDescriptions)
setLog
public void setLog(org.apache.maven.plugin.logging.Log log)
getLog
public org.apache.maven.plugin.logging.Log getLog()
getFiles
public final List<URL> getFiles(ChainedFileWriterConfiguration configuration,
String inputPath,
List<String> includePattern,
boolean inClassPath)
throws MalformedURLException,
IllegalArgumentException
- Throws:
MalformedURLException
IllegalArgumentException
getResources
public final List<URL> getResources(URL file)
throws IOException
- Throws:
IOException
initWriter
protected void initWriter(ChainedFileWriterConfiguration configuration)
- Overrides:
initWriter in class AbstractChainedFileWriter
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
Copyright © 2006-2011 CodeLutin. All Rights Reserved.