i3.dragos.core.services.commands
Interface CommandProvider
public interface CommandProvider
Generic interface to build command objects.
- Author:
- Erhard Weinell <Weinell@cs.RWTH-Aachen.DE>
createCommand
Command createCommand(java.lang.Class<? extends Command> cls,
java.lang.Object... parameters)
- Creates a command object for execution by some
CommandProcessor
.
- Parameters:
cls
- the Command class to create a command for.parameters
- parameters for this command.
- Returns:
- a command object to pass to the according
CommandProcessor
, or null
if this command
type is not supported by this provider.
Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.