net.sourceforge.spark.framework
Interface Command


public interface Command

Part of the Command design pattern.

The Command interface allows the implementing class to be added to a class that has implemented the CommandHolder interface and execute it.

Generally, a class that implements the Command interface contains some sort of business logic that must be performed. A use case for example.

$Source: /cvsroot/spark/spark/source/java/net/sourceforge/spark/framework/Command.java,v $
 $Log: Command.java,v $
 Revision 1.2  2005/07/24 04:03:28  afettes
 no message

 Revision 1.1  2005/07/24 03:55:32  afettes
 Initial commit to CVS.
 

Version:
$Revision: 1.2 $ - $Date: 2005/07/24 04:03:28 $
Author:
$Author: afettes $, Alastair Fettes
See Also:
CommandHolder

Method Summary
 void execute()
          Perform business logic.
 

Method Detail

execute

public void execute()
Perform business logic.