001    package com.saelist.command;
002    import java.io.*;
003    import com.saelist.stx.Pair;
004    
005    /**
006    
007      Commands use the Structured Text Toolkit for configuration but do not
008      necessarily operate on structured text files.<p>
009    
010      [[ Each one has an accociated schema which is used to validate the
011      configuration. ]]
012    
013      @{link AbstractCommand} provides the basic implementation, that is
014      the parses of the configuration [[ and looks up and applies the schema ]].
015    
016    */
017    
018    public interface Command {
019      public void execute() throws CommandException ;
020      public void undo();
021      public void setArgs(String[] args) ;
022      public void setArg(String arg);
023      // [[ public Pair getSchema(); ]]
024    }