Class FindUsageScenarios

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

    public class FindUsageScenarios
    extends Object
    implements IPCMCommand<List<org.palladiosimulator.pcm.usagemodel.UsageScenario>>
    • Constructor Detail

      • FindUsageScenarios

        public FindUsageScenarios()
    • Method Detail

      • execute

        public List<org.palladiosimulator.pcm.usagemodel.UsageScenario> 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.usagemodel.UsageScenario>,​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.usagemodel.UsageScenario>,​PCMModel>
        Returns:
        whether the command may be cached or not.