Class FindAllPassiveResources
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.command.resource.FindAllPassiveResources
-
- All Implemented Interfaces:
ICommand<List<PassiveResourceContext>,PCMModel>
,IPCMCommand<List<PassiveResourceContext>>
public class FindAllPassiveResources extends Object implements IPCMCommand<List<PassiveResourceContext>>
-
-
Constructor Summary
Constructors Constructor Description FindAllPassiveResources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cachable()
List<PassiveResourceContext>
execute(PCMModel model, ICommandExecutor<PCMModel> executor)
Executes the operation encapsulated by this class.
-
-
-
Method Detail
-
execute
public List<PassiveResourceContext> 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 interfaceICommand<List<PassiveResourceContext>,PCMModel>
- Parameters:
model
- the modelexecutor
- theICommandExecutor
that currently executes this operation. Use this reference to invoke sub-operations also implementing thisICommand
interface.- Returns:
-
cachable
public boolean cachable()
- Specified by:
cachable
in interfaceICommand<List<PassiveResourceContext>,PCMModel>
- Returns:
- whether the command may be cached or not.
-
-