edu.bonn.xulu.appl
Interface AbstractCommandInterpreter.Command

All Known Implementing Classes:
DataScriptInterpreter_Basic.Command_CopyStructure, DataScriptInterpreter_Basic.Command_CreateModel, DataScriptInterpreter_Basic.Command_ImportFromFile, DataScriptInterpreter_Basic.Command_LoadMapping, DataScriptInterpreter_Basic.Command_New, DataScriptInterpreter_Basic.Command_Plugin, DataScriptInterpreter_Basic.Command_Rename
Enclosing class:
AbstractCommandInterpreter

protected static interface AbstractCommandInterpreter.Command

Diese Interface beschreibt einen unter der Xulu-Plattform ausfuehrbaren Befehl.

Version:
1.0
Author:
Martin Schmitz (University of Bonn/Germany)

Method Summary
 void check()
          Prueft, ob alle Parameter korrekt gesetzt sind.
 void execute(XuluModellingPlatform appl)
          Fuehrt den Befehl aus.
 String getDescription()
          Liefert eine Beschreibung, was der Befehl macht.
 

Method Detail

execute

void execute(XuluModellingPlatform appl)
             throws Exception
Fuehrt den Befehl aus.

Parameters:
appl - Applikation unter der der Befehl auszufuehren ist
Throws:
Exception - wenn ein Fehler bei der Ausfuehrung aufritt

getDescription

String getDescription()
Liefert eine Beschreibung, was der Befehl macht.


check

void check()
           throws RuntimeException
Prueft, ob alle Parameter korrekt gesetzt sind. Ggf. wird eine Exception geworfen.

Throws:
RuntimeException