Class FindAssemblyContextForSystemCall
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.system.command.FindAssemblyContextForSystemCall
-
- All Implemented Interfaces:
ICommand<org.palladiosimulator.pcm.core.composition.AssemblyContext,PCMModel>
,IPCMCommand<org.palladiosimulator.pcm.core.composition.AssemblyContext>
public class FindAssemblyContextForSystemCall extends Object implements IPCMCommand<org.palladiosimulator.pcm.core.composition.AssemblyContext>
This command returns theAssemblyContext
that provides a specifiedEntryLevelSystemCall
. More precisely, the AssemblyContext is returned that is wired to the system'sOperationProvidedRole
which is called by the EntryLevelSystemCall.
-
-
Constructor Summary
Constructors Constructor Description FindAssemblyContextForSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall call)
Constructs a new command that returns the AssemblyContext providing the specified call.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cachable()
org.palladiosimulator.pcm.core.composition.AssemblyContext
execute(PCMModel pcm, ICommandExecutor<PCMModel> executor)
Executes the operation encapsulated by this class.
-
-
-
Constructor Detail
-
FindAssemblyContextForSystemCall
public FindAssemblyContextForSystemCall(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall call)
Constructs a new command that returns the AssemblyContext providing the specified call.- Parameters:
call
- the call, for which the providing AssemblyContext is to be searched
-
-
Method Detail
-
execute
public org.palladiosimulator.pcm.core.composition.AssemblyContext execute(PCMModel pcm, ICommandExecutor<PCMModel> executor)
Executes the operation encapsulated by this class.Notice: This method is not intended to be called by clients. Use a
ICommandExecutor
instead to execute the operation.- Specified by:
execute
in interfaceICommand<org.palladiosimulator.pcm.core.composition.AssemblyContext,PCMModel>
- Parameters:
pcm
- the modelexecutor
- theICommandExecutor
that currently executes this operation. Use this reference to invoke sub-operations also implementing thisICommand
interface.- Returns:
-
-