Interface AdaptationBehavior

    • Method Detail

      • getInvolvedRoles

        EList<RoleType> getInvolvedRoles()
        Returns the value of the 'Involved Roles' containment reference list. The list contents are of type RoleType. It is bidirectional and its opposite is 'Action'.

        If the meaning of the 'Involved Roles' containment reference list isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Involved Roles' containment reference list.
        See Also:
        CorePackage.getAdaptationBehavior_InvolvedRoles(), RoleType.getAction()
        Generated class or method.
        EMF model class or method.
        opposite="action" containment="true" required="true"
      • getTransientStateProfile

        org.modelversioning.emfprofile.Profile getTransientStateProfile()
        Returns the value of the 'Transient State Profile' reference.

        If the meaning of the 'Transient State Profile' reference isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Transient State Profile' reference.
        See Also:
        setTransientStateProfile(Profile), CorePackage.getAdaptationBehavior_TransientStateProfile()
        Generated class or method.
        EMF model class or method.
      • setTransientStateProfile

        void setTransientStateProfile​(org.modelversioning.emfprofile.Profile value)
        Sets the value of the 'Transient State Profile' reference.
        Parameters:
        value - the new value of the 'Transient State Profile' reference.
        See Also:
        getTransientStateProfile()
        Generated class or method.
      • execute

        boolean execute​(RoleSet affectedRoleSet,
                        ControllerCallInputVariableUsageCollection controllerCallsVariableUsages,
                        de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
        Executes this AdaptationBehavior for the given RoleSet and with the given VariableUsages. As no ExecutionContext is passed, this behavior will be processed by the main thread, i.e. by the underlying ReconfigurationProcess.
        Generated class or method.
        EMF model class or method.
        required="true" affectedRoleSetRequired="true" controllerCallsVariableUsagesRequired="true" resourceTableManagerDataType="org.palladiosimulator.simulizar.action.core.IResourceTableManager"
      • execute

        boolean execute​(RoleSet affectedRoleSet,
                        ControllerCallInputVariableUsageCollection controllerCallsVariableUsages,
                        ExecutionContext executionContext,
                        de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
        Executes this AdaptationBehavior for the given RoleSet and with the given VariableUsages. Note that the behavior is synchronously executed by the process that is associated with the given context.
        Generated class or method.
        EMF model class or method.
        required="true" affectedRoleSetRequired="true" controllerCallsVariableUsagesRequired="true" resourceTableManagerDataType="org.palladiosimulator.simulizar.action.core.IResourceTableManager"
      • execute

        boolean execute​(RoleSet affectedRoleSet,
                        de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
        Executes this AdaptationBehavior for the given RoleSet. As no ExecutionContext is passed, this behavior will be processed by the main thread, i.e. by the underlying ReconfigurationProcess.
        Generated class or method.
        EMF model class or method.
        required="true" affectedRoleSetRequired="true" resourceTableManagerDataType="org.palladiosimulator.simulizar.action.core.IResourceTableManager"
      • execute

        boolean execute​(RoleSet affectedRoleSet,
                        ExecutionContext executionContext,
                        de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
        Executes this AdaptationBehavior for the given RoleSet and with the given VariableUsages. Note that the behavior is synchronously executed by the process that is associated with the given context.
        Generated class or method.
        EMF model class or method.
        required="true" affectedRoleSetRequired="true" resourceTableManagerDataType="org.palladiosimulator.simulizar.action.core.IResourceTableManager"
      • executeAsync

        ExecutionContext executeAsync​(RoleSet affectedRoleSet,
                                      ControllerCallInputVariableUsageCollection controllerCallsVariableUsages,
                                      de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
        Triggers the asynchronous execution of this AdaptationBehavior for the given RoleSet and VariableUsages. The ExecutionContext of the executing process, which is created before the async process is spawned, is returned. It should be passed to synchronous adaptation behavior executions that are done within.
        Generated class or method.
        EMF model class or method.
        required="true" affectedRoleSetRequired="true" controllerCallsVariableUsagesRequired="true" resourceTableManagerDataType="org.palladiosimulator.simulizar.action.core.IResourceTableManager"
      • executeAsync

        ExecutionContext executeAsync​(de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager,
                                      RoleSet affectedRoleSet,
                                      ControllerCallInputVariableUsageCollection controllerCallsVariableUsages,
                                      ExecutionContext asyncExecutionContext)
        Triggers the asynchronous execution of this AdaptationBehavior for the given RoleSet and VariableUsages in the given ExecutionContext. To conform to ome overloaded versions of this method, this context is also returned. It should be passed to synchronous adaptation behavior executions that are done within.
        Generated class or method.
        EMF model class or method.
        resourceTableManagerDataType="org.palladiosimulator.simulizar.action.core.IResourceTableManager" controllerCallsVariableUsagesRequired="true"
      • executeAsync

        ExecutionContext executeAsync​(RoleSet affectedRoleSet,
                                      de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
        Generated class or method.
        EMF model class or method.
        required="true" affectedRoleSetRequired="true" resourceTableManagerDataType="org.palladiosimulator.simulizar.action.core.IResourceTableManager"
      • executeAsync

        ExecutionContext executeAsync​(RoleSet affectedRoleSet,
                                      ExecutionContext asyncExecutionContext,
                                      de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
        Triggers the asynchronous execution of this AdaptationBehavior for the given RoleSet in the given ExecutionContext. To conform to ome overloaded versions of this method, this context is also returned. It should be passed to synchronous adaptation behavior executions that are done within.
        Generated class or method.
        EMF model class or method.
        resourceTableManagerDataType="org.palladiosimulator.simulizar.action.core.IResourceTableManager"