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 theAssemblyContextthat provides a specifiedEntryLevelSystemCall. More precisely, the AssemblyContext is returned that is wired to the system'sOperationProvidedRolewhich 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 booleancachable()org.palladiosimulator.pcm.core.composition.AssemblyContextexecute(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
ICommandExecutorinstead to execute the operation.- Specified by:
executein interfaceICommand<org.palladiosimulator.pcm.core.composition.AssemblyContext,PCMModel>- Parameters:
pcm- the modelexecutor- theICommandExecutorthat currently executes this operation. Use this reference to invoke sub-operations also implementing thisICommandinterface.- Returns:
-
-