Class PlatformInstantiator.NonCleaningInstantiationConfigurer
java.lang.Object
de.iip_ecosphere.platform.configuration.PlatformInstantiator.InstantiationConfigurer
de.iip_ecosphere.platform.configuration.PlatformInstantiator.NonCleaningInstantiationConfigurer
- Enclosing class:
PlatformInstantiator
public static class PlatformInstantiator.NonCleaningInstantiationConfigurer
extends PlatformInstantiator.InstantiationConfigurer
An instantiation configurer that does not clean the output folder.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
ConstructorsConstructorDescriptionNonCleaningInstantiationConfigurer(String ivmlModelName, File modelFolder, File outputFolder) Creates a configurer instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanReturns whether the output folder shall be cleaned before code generation.Methods inherited from class de.iip_ecosphere.platform.configuration.PlatformInstantiator.InstantiationConfigurer
configure, emitReasonerWarnings, fromArg, getIvmlModelName, getLastArgsIndex, getMainClass, getMetaModelFolder, getModelFolder, getOutputFolder, getProperties, getStartRuleName, handleExecutionException, inTesting, isEmitReasonerWarnings, obtainLifecycleDescriptor, setIvmlMetaModelFolder, setProperty, setStartRuleName, toArg, toArgs, validateConfiguration, validateReasoningResult
-
Constructor Details
-
NonCleaningInstantiationConfigurer
public NonCleaningInstantiationConfigurer(String ivmlModelName, File modelFolder, File outputFolder) Creates a configurer instance.- Parameters:
ivmlModelName- the name of the IVML model representing the topmost platform configurationmodelFolder- the folder where the model is located (ignored if null)outputFolder- the output folder for code generation
-
-
Method Details
-
cleanOutputFolder
protected boolean cleanOutputFolder()Description copied from class:PlatformInstantiator.InstantiationConfigurerReturns whether the output folder shall be cleaned before code generation.- Overrides:
cleanOutputFolderin classPlatformInstantiator.InstantiationConfigurer- Returns:
truefor clean,falseelse
-