Interface AdaptationBehavior

All Superinterfaces:
AbstractAdaptationBehavior, org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, org.palladiosimulator.pcm.core.entity.Entity, EObject, de.uka.ipd.sdq.identifier.Identifier, org.palladiosimulator.pcm.core.entity.NamedElement, Notifier, org.palladiosimulator.pcm.PCMBaseClass, org.palladiosimulator.pcm.PCMClass
All Known Implementing Classes:
AdaptationBehaviorImpl

public interface AdaptationBehavior extends AbstractAdaptationBehavior
A representation of the model object 'Adaptation Behavior'.

The following features are supported:

See Also:
Generated class or method.
EMF model class or method.
  • Method Details

    • 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:
      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:
      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:
      Generated class or method.
    • getRepository

      Returns the value of the 'Repository' container reference. It is bidirectional and its opposite is 'Actions'.

      If the meaning of the 'Repository' container reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Repository' container reference.
      See Also:
      Generated class or method.
      EMF model class or method.
      opposite="actions" transient="false"
    • setRepository

      void setRepository(AdaptationBehaviorRepository value)
      Sets the value of the 'Repository' container reference.
      Parameters:
      value - the new value of the 'Repository' container reference.
      See Also:
      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"