org/sonews/daemon/command/Command.java
changeset 20 6ae5e4f8329b
parent 3 2fdc9cc89502
     1.1 --- a/org/sonews/daemon/command/Command.java	Fri Aug 21 17:40:54 2009 +0200
     1.2 +++ b/org/sonews/daemon/command/Command.java	Mon Aug 24 13:00:05 2009 +0200
     1.3 @@ -30,8 +30,17 @@
     1.4  public interface Command
     1.5  {
     1.6  
     1.7 +  /**
     1.8 +   * @return true if this instance can be reused.
     1.9 +   */
    1.10    boolean hasFinished();
    1.11  
    1.12 +  /**
    1.13 +   * Returns capability string that is implied by this command class.
    1.14 +   * MAY return null if the command is required by the NNTP standard.
    1.15 +   */
    1.16 +  String impliedCapability();
    1.17 +
    1.18    boolean isStateful();
    1.19  
    1.20    String[] getSupportedCommandStrings();