JGAP

org.jgap.util
Interface ICommand

All Known Implementing Classes:
WorkerCommand

public interface ICommand

Interface for commands (part of the Command pattern)

Since:
2.3

Field Summary
static java.lang.String CVS_REVISION
          String containing the CVS revision.
 
Method Summary
 CommandResult execute(java.lang.Object a_parameters)
          Executes the command and returns the result of the operation
 

Field Detail

CVS_REVISION

static final java.lang.String CVS_REVISION
String containing the CVS revision. Read out via reflection!

See Also:
Constant Field Values
Method Detail

execute

CommandResult execute(java.lang.Object a_parameters)
                      throws java.lang.Exception
Executes the command and returns the result of the operation

Parameters:
a_parameters - parameters need for executing the command
Returns:
result of operation
Throws:
java.lang.Exception - in case of any problem

JGAP