Class UncertaintyVariationModelGenPcm
- java.lang.Object
-
- org.palladiosimulator.pcm.uncertainty.variation.UncertaintyVariationModel.gen.pcm.UncertaintyVariationModelGenPcm
-
public class UncertaintyVariationModelGenPcm extends Object
UncertaintyVariationModelGenPcm realizes the generation of the uncertainty varied palladio component model (pcm) based the specified uncertainty variation model.
-
-
Constructor Summary
Constructors Constructor Description UncertaintyVariationModelGenPcm(URI uncertaintyModelUri)
ConstructorUncertaintyVariationModelGenPcm(URI uncertaintyModelUri, String sourceDirName, String resultDirName, String variantDirName)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateVariations(IProgressMonitor progressMonitor)
generates the different scenarios, which will found under scenario directory of the current project, from the pcm based on the uncertainty variation model.
-
-
-
Constructor Detail
-
UncertaintyVariationModelGenPcm
public UncertaintyVariationModelGenPcm(URI uncertaintyModelUri) throws CoreException
Constructor- Parameters:
uncertaintyModelUri
- specifies the uniform resource identifier (uri) which points to the uncertainty variation model to use. The uri must be of the platform type.- Throws:
CoreException
- if result directory can not be created in the case it does not existIllegalArgumentException
- if the given URI of the uncertainty variation model is valid
-
UncertaintyVariationModelGenPcm
public UncertaintyVariationModelGenPcm(URI uncertaintyModelUri, String sourceDirName, String resultDirName, String variantDirName) throws CoreException
Constructor- Parameters:
uncertaintyModelUri
- specifies the uniform resource identifier (uri) which points to the uncertainty variation model to use. The uri must be of the platform type.sourceDirName
- name of the directory in which the model templates for the variants will be searched in.resultDirName
- name of the directory in which the all variants will be saved invariantDirName
- name of the directory in which one variant will be saved in- Throws:
CoreException
- if result directory can not be created in the case it does not existIllegalArgumentException
- if the given URI of the uncertainty variation model is valid
-
-
Method Detail
-
generateVariations
public void generateVariations(IProgressMonitor progressMonitor)
generates the different scenarios, which will found under scenario directory of the current project, from the pcm based on the uncertainty variation model.- Parameters:
progressMonitor
- progress monitor for status reporting
-
-