You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/09/14 10:04:49 UTC

svn commit: r695138 - /geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContainer.java

Author: jdillon
Date: Sun Sep 14 01:04:49 2008
New Revision: 695138

URL: http://svn.apache.org/viewvc?rev=695138&view=rev
Log:
Added getMessages(), update some javadoc

Modified:
    geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContainer.java

Modified: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContainer.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContainer.java?rev=695138&r1=695137&r2=695138&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContainer.java (original)
+++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/command/CommandContainer.java Sun Sep 14 01:04:49 2008
@@ -19,6 +19,8 @@
 
 package org.apache.geronimo.gshell.command;
 
+import org.apache.geronimo.gshell.i18n.MessageSource;
+
 /**
  * ???
  *
@@ -29,32 +31,39 @@
     /**
      * Returns the configured identifier of the command.
      *
-     * @return  The command identifier; never null;
+     * @return  The command identifier; never null.
      */
     String getId();
 
     /**
      * Returns the action of the command.
      *
-     * @return  The command action; never null;
+     * @return  The command action; never null.
      */
     CommandAction getAction();
 
     /**
      * Returns the documenter for the command.
      *
-     * @return  The command documenter; never null;
+     * @return  The command documenter; never null.
      */
     CommandDocumenter getDocumenter();
 
     /**
      * Returns the completer for the command.
      *
-     * @return  The command completer; never null;
+     * @return  The command completer; never null.
      */
     CommandCompleter getCompleter();
 
     /**
+     * Returns the message source for the command.
+     *
+     * @return  The command message source; never null.
+     */
+    MessageSource getMessages();
+
+    /**
      * Execute the command action.
      *
      * @param context   The execution context.