You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ni...@apache.org on 2002/06/30 22:12:16 UTC
cvs commit: jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/command Command.java
nicolaken 2002/06/30 13:12:15
Modified: pattern/src/java/org/apache/commons/pattern/command
Command.java
Log:
Changed execute() to execute(object) so that extra info can be given for
the execution of the command.
Revision Changes Path
1.2 +5 -2 jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/command/Command.java
Index: Command.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/pattern/src/java/org/apache/commons/pattern/command/Command.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Command.java 28 Jun 2002 08:21:11 -0000 1.1
+++ Command.java 30 Jun 2002 20:12:15 -0000 1.2
@@ -65,8 +65,11 @@
/**
* Does what it has to.
*
+ * @param description the extra information needed to execute the
+ * command
+ *
* @throws CommandException (runtime) if the execution fails
*/
- public void execute();
+ public void execute(Object description);
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>