org.apache.james.remotemanager
Interface Command


public interface Command

Commands JAMES through the remote management console.


Method Summary
 boolean execute(java.lang.String args, java.io.PrintWriter out)
          Executes this command.
 java.lang.String getName()
          Gets the name of this command.
 java.lang.String help()
          Outputs useful information for the user of this command.
 

Method Detail

getName

java.lang.String getName()
Gets the name of this command.

Returns:
command name, not null

help

java.lang.String help()
Outputs useful information for the user of this command.

Returns:
user help, not null

execute

boolean execute(java.lang.String args,
                java.io.PrintWriter out)
Executes this command.

Parameters:
args - raw arguments, not null
out - PrintWriter for user feedback
Returns:
true additional commands are expected, false otherwise. Note


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.