public abstract class BaseChainedFileWriterToMemoryModel extends BaseChainedFileWriter implements ChainedFileWriterToMemoryModel
| Modifier and Type | Field and Description |
|---|---|
protected File |
lastModifiedFile |
protected Model |
model |
protected File |
outputDirectory |
static String |
PROP_FAIL_IF_UNSAFE |
static String |
PROP_MODEL_PROPERTIES_PROVIDER
Deprecated.
|
static String |
PROP_MODEL_READER |
static String |
PROP_READER |
static String |
PROP_STEREOTYPE_DEFINITION_PROVIDER |
static String |
PROP_TAG_VALUE_DEFINITION_PROVIDER |
authorizedPropertyDescriptions, entries, nextWriter, previousWriter, properties| Modifier | Constructor and Description |
|---|---|
protected |
BaseChainedFileWriterToMemoryModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptModel(String modelType) |
void |
generate(ChainedFileWriterConfiguration configuration,
File outputDir,
Map<File,List<File>> filesByRoot,
Map<File,List<File>> resourcesByFile) |
protected abstract String |
getInputType() |
long |
getLastModifiedSource() |
Model |
getModel() |
protected ModelReader<?> |
getModelReader() |
File |
getOutputDirectory() |
String |
getOutputProtocol(String modelType) |
protected String |
getReader() |
protected StereotypeDefinitionProvider |
getStereotypeDefinitionProvider() |
protected TagValueDefinitionProvider |
getTagValueDefinitionProvider() |
protected void |
initWriter(ChainedFileWriterConfiguration configuration) |
protected boolean |
isFailIfUnsafe() |
protected void |
setLastModifiedSource(Iterable<File> files) |
acceptObjectModelOrStateModel, copyResources, getLog, setLogaddEntry, clear, generate, getAuthorizedPropertyDescriptions, getAuthorizedPropertyNames, getEntries, getExtractDirectory, getInputProtocol, getNextWriter, getOutputDirectory, getPreviousWriter, getProperty, getWriterReport, setNextWriter, setWriterReportclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptInclude, addEntry, clear, generate, getAuthorizedPropertyDescriptions, getAuthorizedPropertyNames, getDefaultIncludes, getDefaultInputDirectory, getDefaultOutputDirectory, getDefaultTestInputDirectory, getDefaultTestOutputDirectory, getEntries, getExtractDirectory, getInputProtocol, getInputProtocol, getOutputDirectory, getProperty, getWriterReport, setWriterReportpublic static final String PROP_MODEL_READER
public static final String PROP_TAG_VALUE_DEFINITION_PROVIDER
public static final String PROP_STEREOTYPE_DEFINITION_PROVIDER
public static final String PROP_FAIL_IF_UNSAFE
@Deprecated public static final String PROP_MODEL_PROPERTIES_PROVIDER
public static final String PROP_READER
protected Model model
protected File lastModifiedFile
protected File outputDirectory
protected BaseChainedFileWriterToMemoryModel()
public Model getModel()
getModel in interface ChainedFileWriterToMemoryModelpublic long getLastModifiedSource()
getLastModifiedSource in interface ChainedFileWriterToMemoryModelpublic File getOutputDirectory()
getOutputDirectory in interface ChainedFileWriterToMemoryModelpublic String getOutputProtocol(String modelType)
getOutputProtocol in interface ChainedFileWriterpublic boolean acceptModel(String modelType)
acceptModel in interface ChainedFileWriterprotected abstract String getInputType()
protected ModelReader<?> getModelReader()
protected String getReader()
protected TagValueDefinitionProvider getTagValueDefinitionProvider()
protected StereotypeDefinitionProvider getStereotypeDefinitionProvider()
protected boolean isFailIfUnsafe()
protected void initWriter(ChainedFileWriterConfiguration configuration)
initWriter in class BaseChainedFileWriterpublic void generate(ChainedFileWriterConfiguration configuration, File outputDir, Map<File,List<File>> filesByRoot, Map<File,List<File>> resourcesByFile) throws IOException
generate in class AbstractChainedFileWriterIOExceptionCopyright © 2006–2015 CodeLutin. All rights reserved.