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 allResourceDemandingSEFFs 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 booleancachable()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
ICommandExecutorinstead to execute the operation.- Specified by:
executein interfaceICommand<List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF>,PCMModel>- Parameters:
pcm- the modelexecutor- theICommandExecutorthat currently executes this operation. Use this reference to invoke sub-operations also implementing thisICommandinterface.- Returns:
-
-