Class FindSeffsForAssemblyContext
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.command.action.FindSeffsForAssemblyContext
-
- All Implemented Interfaces:
ICommand<List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF>,PCMModel>
,IPCMCommand<List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF>>
public class FindSeffsForAssemblyContext extends Object implements IPCMCommand<List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF>>
This command returns allResourceDemandingSEFF
s provided by the component that is encapsulated in a specifiedAssemblyContext
.
-
-
Constructor Summary
Constructors Constructor Description FindSeffsForAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyCtx)
Constructs a new command to find all SEFFs in the specified AssemblyContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cachable()
List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF>
execute(PCMModel pcm, ICommandExecutor<PCMModel> executor)
Executes the operation encapsulated by this class.
-
-
-
Method Detail
-
execute
public List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF> 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<List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF>,PCMModel>
- Parameters:
pcm
- the modelexecutor
- theICommandExecutor
that currently executes this operation. Use this reference to invoke sub-operations also implementing thisICommand
interface.- Returns:
-
-