Coverage Report - org.openpermis.editor.policy.command.CommandDispatcher
 
Classes in this File Line Coverage Branch Coverage Complexity
CommandDispatcher
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport
 3  
  *                     (http://www.vbs.admin.ch)
 4  
  * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch)
 5  
  * All rights reserved.
 6  
  *
 7  
  * Licensed under the Open Permis License which accompanies this distribution,
 8  
  * and is available at http://www.openpermis.org/BSDlicenceKent.txt
 9  
  */
 10  
 package org.openpermis.editor.policy.command;
 11  
 
 12  
 /**
 13  
  * Dispatcher for commands.
 14  
  * @since 0.1.0
 15  
  */
 16  
 public interface CommandDispatcher {
 17  
 
 18  
         /**
 19  
          * Executes the specified command and pushes it on the undo stack.
 20  
          * <p>Flushes the contents of the redo stack.</p>
 21  
          * @param command the command to process.
 22  
          * @since 0.1.0
 23  
          */
 24  
         public void execute (Command command);
 25  
         
 26  
 }