| Version 4 (modified by dburkhar, 20 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.
*/
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;
}
