Class HenshinModelAccess
- java.lang.Object
-
- org.palladiosimulator.simulizar.reconfiguration.henshin.modelaccess.HenshinModelAccess
-
- All Implemented Interfaces:
Cloneable
,IModelAccess
public class HenshinModelAccess extends Object implements IModelAccess
Helper to access all models and specifically the StoryDiagram models from the Story Diagram reconfiguration engine.
-
-
Constructor Summary
Constructors Constructor Description HenshinModelAccess(IModelAccess modelAccess, SimuLizarWorkflowConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IModelAccess
clone()
de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard
getBlackboard()
org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition
getGlobalPCMModel()
List<org.eclipse.emf.henshin.model.Module>
getHenshinRules()
org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition
getLocalPCMModel()
org.palladiosimulator.monitorrepository.MonitorRepository
getMonitorRepositoryModel()
RuntimeMeasurementModel
getRuntimeMeasurementModel()
org.scaledl.usageevolution.UsageEvolution
getUsageEvolutionModel()
boolean
sdmModelsExists()
Checks whether sdm models exists, without using any classes from sd interpreter.
-
-
-
Constructor Detail
-
HenshinModelAccess
public HenshinModelAccess(IModelAccess modelAccess, SimuLizarWorkflowConfiguration configuration)
-
-
Method Detail
-
getHenshinRules
public List<org.eclipse.emf.henshin.model.Module> getHenshinRules()
- Returns:
- a list of the henshin reconfiguration rules.
-
sdmModelsExists
public boolean sdmModelsExists()
Checks whether sdm models exists, without using any classes from sd interpreter.- Returns:
- true if yes, otherwise false;
-
getLocalPCMModel
public org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition getLocalPCMModel()
- Specified by:
getLocalPCMModel
in interfaceIModelAccess
-
getGlobalPCMModel
public org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition getGlobalPCMModel()
- Specified by:
getGlobalPCMModel
in interfaceIModelAccess
-
getMonitorRepositoryModel
public org.palladiosimulator.monitorrepository.MonitorRepository getMonitorRepositoryModel()
- Specified by:
getMonitorRepositoryModel
in interfaceIModelAccess
-
getRuntimeMeasurementModel
public RuntimeMeasurementModel getRuntimeMeasurementModel()
- Specified by:
getRuntimeMeasurementModel
in interfaceIModelAccess
-
getUsageEvolutionModel
public org.scaledl.usageevolution.UsageEvolution getUsageEvolutionModel()
- Specified by:
getUsageEvolutionModel
in interfaceIModelAccess
-
clone
public IModelAccess clone()
- Specified by:
clone
in interfaceIModelAccess
- Overrides:
clone
in classObject
-
getBlackboard
public de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard getBlackboard()
- Specified by:
getBlackboard
in interfaceIModelAccess
-
-