Version 3 (modified by dburkhar, 19 years ago) (diff) |
---|
DataOpener
Java Interface
Probably equal to source:trunk/gnowsis/src/org/gnowsis/data/adapter/CommandExecutor.java
/** * A commandExecutor is the handler of an Adapter that implements the ability * to execute commands. The handler can be seperated from the adapter. * <p>This constructor may throw exceptions.</p> * <p>Copyright: Copyright (c) 2003</p> * <p>Organisation: Gnowsis.com</p> * @author Leo Sauermann * @version $Id: CommandExecutor.java,v 1.5 2004/11/26 19:27:28 sauermann Exp $ */ public interface CommandExecutor { /** * Executes a command on the uri. * @param command a command identifier (uri). * preferably one from http://www.gnowsis.org/ont/appworkspace/cmd/0.1# * @param url url of the resource that should be manipulated * @throws an Exception when something goes wrong. */ public void executeCommand(String command, String url) throws ResourceNotFoundException, ExecuteException; }