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 booleancachable()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:ICommandExecutes 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<PassiveResourceContext>,PCMModel>- Parameters:
model- the modelexecutor- theICommandExecutorthat currently executes this operation. Use this reference to invoke sub-operations also implementing thisICommandinterface.- Returns:
-
cachable
public boolean cachable()
- Specified by:
cachablein interfaceICommand<List<PassiveResourceContext>,PCMModel>- Returns:
- whether the command may be cached or not.
-
-