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
- 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:
CorePackage.getAdaptationBehavior()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
execute(RoleSet affectedRoleSet, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
Executes this AdaptationBehavior for the given RoleSet.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.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.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.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.ExecutionContext
executeAsync(RoleSet affectedRoleSet, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
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.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.EList<RoleType>
getInvolvedRoles()
Returns the value of the 'Involved Roles' containment reference list.AdaptationBehaviorRepository
getRepository()
Returns the value of the 'Repository' container reference.org.modelversioning.emfprofile.Profile
getTransientStateProfile()
Returns the value of the 'Transient State Profile' reference.void
setRepository(AdaptationBehaviorRepository value)
Sets the value of the 'Repository
' container reference.void
setTransientStateProfile(org.modelversioning.emfprofile.Profile value)
Sets the value of the 'Transient State Profile
' reference.-
Methods inherited from interface org.palladiosimulator.simulizar.action.core.AbstractAdaptationBehavior
getAdaptationSteps
-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getInvolvedRoles
EList<RoleType> getInvolvedRoles()
Returns the value of the 'Involved Roles' containment reference list. The list contents are of typeRoleType
. 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.
-
getRepository
AdaptationBehaviorRepository 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:
setRepository(AdaptationBehaviorRepository)
,CorePackage.getAdaptationBehavior_Repository()
,AdaptationBehaviorRepository.getActions()
- 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:
getRepository()
- 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"
-
-