Class SDExecutor


  • public class SDExecutor
    extends Object
    • 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.