Class SDExecutor
- java.lang.Object
-
- org.palladiosimulator.simulizar.reconfiguration.storydiagram.SDExecutor
-
public class SDExecutor extends Object
-
-
Constructor Summary
Constructors Constructor Description SDExecutor(IModelAccess modelAccess)
Constructor of the SD Executor.SDExecutor(StoryDiagramModelAccess modelAccessFactory)
Constructor of the SD Executor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
executeTransformations(List<SDModelTransformation> transformations, EObject monitoredElement)
Executes all activities for the given monitored element.
-
-
-
Constructor Detail
-
SDExecutor
public SDExecutor(StoryDiagramModelAccess modelAccessFactory)
Constructor of the SD Executor.- Parameters:
modelAccessFactory
- the model access factory used to access the SD, PCM@runtime and RuntimeMeasurement models.
-
SDExecutor
public SDExecutor(IModelAccess modelAccess)
Constructor of the SD Executor.- Parameters:
modelAccess
- the model access factory used to access the SD, PCM@runtime and RuntimeMeasurement models.
-
-
Method Detail
-
executeTransformations
public boolean executeTransformations(List<SDModelTransformation> transformations, EObject monitoredElement)
Executes all activities for the given monitored element.- Parameters:
monitoredElement
- the pcm model element to be monitored.- Returns:
- true if at least one reconfiguration's check was positive and it reconfigured the model.
-
-