Class FindPassiveResourcesInAssemblyContext

  • All Implemented Interfaces:
    ICommand<List<org.palladiosimulator.pcm.repository.PassiveResource>,​PCMModel>, IPCMCommand<List<org.palladiosimulator.pcm.repository.PassiveResource>>

    public class FindPassiveResourcesInAssemblyContext
    extends Object
    implements IPCMCommand<List<org.palladiosimulator.pcm.repository.PassiveResource>>
    • Constructor Detail

      • FindPassiveResourcesInAssemblyContext

        public FindPassiveResourcesInAssemblyContext​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext)
    • Method Detail

      • execute

        public List<org.palladiosimulator.pcm.repository.PassiveResource> execute​(PCMModel model,
                                                                                  ICommandExecutor<PCMModel> executor)
        Description copied from interface: ICommand
        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 interface ICommand<List<org.palladiosimulator.pcm.repository.PassiveResource>,​PCMModel>
        Parameters:
        model - the model
        executor - the ICommandExecutor that currently executes this operation. Use this reference to invoke sub-operations also implementing this ICommand interface.
        Returns:
      • cachable

        public boolean cachable()
        Specified by:
        cachable in interface ICommand<List<org.palladiosimulator.pcm.repository.PassiveResource>,​PCMModel>
        Returns:
        whether the command may be cached or not.