View Javadoc

1   package ch.odi.justblog.command;
2   
3   
4   /***
5    * A command to the application.
6    * Commands modify session state.
7    *
8    * @author oglueck
9    */
10  public interface Command {
11      /***
12       * Executes the command. The session may be modified by the command.
13       * @param session The session.
14       */
15      void execute(ISession session) throws CommandException;
16  }