Package edu.kit.ipd.sdq.eventsim.command
Interface ICommandExecutor<M>
-
- Type Parameters:
M
- the type of the model. Instances of this type encapsulate access to the model.
- All Known Implementing Classes:
CachingPCMModelCommandExecutor
,CountingPCMModelCommandExecutor
,PCMModelCommandExecutor
public interface ICommandExecutor<M>
Classes implementing this interface provide the execution ofICommand
s operating on a certain model type M. Executing a command means to invoke the command'sexecute()
method and pass the model instance on which the command operates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
execute(ICommand<T,M> command)
Executes the specified command.
-