qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ai...@apache.org
Subject svn commit: r732306 - in /qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid: ./ commands/
Date Wed, 07 Jan 2009 11:34:03 GMT
Author: aidan
Date: Wed Jan  7 03:34:02 2009
New Revision: 732306

URL: http://svn.apache.org/viewvc?rev=732306&view=rev
Log:
QPID-1522: Rename Command class to CommandImpl and make it implement Command interface.

Modified:
    qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/Command.java
    qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/CommandExecusionEngine.java
    qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commanddelete.java
    qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandhelp.java
    qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandinfo.java
    qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandlist.java
    qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandmove.java
    qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandview.java
    qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandviewcontent.java

Modified: qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/Command.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/Command.java?rev=732306&r1=732305&r2=732306&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/Command.java (original)
+++ qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/Command.java Wed Jan
 7 03:34:02 2009
@@ -39,24 +39,14 @@
 
 import org.apache.qpid.utils.CommandLineOption;
 
-/**
- * Created by IntelliJ IDEA.
- * User: lahiru
- * Date: May 29, 2008
- * Time: 9:21:46 PM
- * To change this template use File | Settings | File Templates.
- */
-public interface
-        Command {
+public interface Command {
 
     public static String commandname = null;
     public static CommandLineOption options = null;
 
-    void execute();
+    public void execute();
 
-    void printusage();
+    public void printusage();
 
-    void optionchecker();
-
-    void optionvaluechecker();
+    public void optionvaluechecker();
 }

Modified: qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/CommandExecusionEngine.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/CommandExecusionEngine.java?rev=732306&r1=732305&r2=732306&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/CommandExecusionEngine.java
(original)
+++ qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/CommandExecusionEngine.java
Wed Jan  7 03:34:02 2009
@@ -40,7 +40,7 @@
 import org.apache.qpid.utils.CommandLineOptionParser;
 import org.apache.qpid.utils.JMXinfo;
 import org.apache.qpid.commands.*;
-import org.apache.qpid.commands.Command;
+import org.apache.qpid.commands.CommandImpl;
 
 
 public class CommandExecusionEngine {

Modified: qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commanddelete.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commanddelete.java?rev=732306&r1=732305&r2=732306&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commanddelete.java
(original)
+++ qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commanddelete.java
Wed Jan  7 03:34:02 2009
@@ -59,7 +59,7 @@
  * Time: 5:34:51 PM
  * To change this template use File | Settings | File Templates.
  */
-public class Commanddelete extends Command {
+public class Commanddelete extends CommandImpl {
     private String object;
     private String name;
     private String vhost;

Modified: qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandhelp.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandhelp.java?rev=732306&r1=732305&r2=732306&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandhelp.java
(original)
+++ qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandhelp.java
Wed Jan  7 03:34:02 2009
@@ -47,7 +47,7 @@
  * Time: 5:55:28 PM
  * To change this template use File | Settings | File Templates.
  */
-public class Commandhelp extends Command {
+public class Commandhelp extends CommandImpl {
     public Commandhelp(JMXinfo info, String name) {
         super(info, name);
     }

Modified: qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandinfo.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandinfo.java?rev=732306&r1=732305&r2=732306&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandinfo.java
(original)
+++ qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandinfo.java
Wed Jan  7 03:34:02 2009
@@ -47,7 +47,7 @@
 import java.util.Set;
 
 
-public class Commandinfo extends Command {
+public class Commandinfo extends CommandImpl {
     private String object = null;
     private String name = null;
     private String virtualhost = null;

Modified: qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandlist.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandlist.java?rev=732306&r1=732305&r2=732306&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandlist.java
(original)
+++ qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandlist.java
Wed Jan  7 03:34:02 2009
@@ -53,7 +53,7 @@
 import java.util.Map;
 
 
-public class Commandlist extends Command {
+public class Commandlist extends CommandImpl {
 
     private String object;
     private String name;

Modified: qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandmove.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandmove.java?rev=732306&r1=732305&r2=732306&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandmove.java
(original)
+++ qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandmove.java
Wed Jan  7 03:34:02 2009
@@ -62,7 +62,7 @@
  * Time: 5:35:05 PM
  * To change this template use File | Settings | File Templates.
  */
-public class Commandmove extends Command {
+public class Commandmove extends CommandImpl {
     private String object;
     private String name1 = null, name2 = null, vhost1 = null, vhost2 = null, method1 = null,
method2 = null;    //target and starting queue specifications happen with these options
     private int number = 0;

Modified: qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandview.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandview.java?rev=732306&r1=732305&r2=732306&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandview.java
(original)
+++ qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandview.java
Wed Jan  7 03:34:02 2009
@@ -59,7 +59,7 @@
  * Time: 11:33:05 PM
  * To change this template use File | Settings | File Templates.
  */
-public class Commandview extends Command {
+public class Commandview extends CommandImpl {
     private String object;
     private String name;
     private String vhost;

Modified: qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandviewcontent.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandviewcontent.java?rev=732306&r1=732305&r2=732306&view=diff
==============================================================================
--- qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandviewcontent.java
(original)
+++ qpid/trunk/qpid/java/management/tools/qpid-cli/src/org/apache/qpid/commands/Commandviewcontent.java
Wed Jan  7 03:34:02 2009
@@ -55,7 +55,7 @@
  * Time: 12:19:16 PM
  * To change this template use File | Settings | File Templates.
  */
-public class Commandviewcontent extends Command {
+public class Commandviewcontent extends CommandImpl {
     private String object;
     private String name;
     private String vhost;



Mime
View raw message