public class Interpreter extends java.lang.Object implements InterpreterInterface
| Constructor and Description |
|---|
Interpreter(DataModel model)
Erzeugen des Interpreters
|
| Modifier and Type | Method and Description |
|---|---|
ProtocolRequestResult |
process(java.io.DataInputStream script,
java.lang.String fileName,
ProcessingParameter parameter,
ProcessingInformation pi)
Startet die Interpretation des Skripts.
|
public Interpreter(DataModel model)
model - Verbindung zur Konfiguration.public ProtocolRequestResult process(java.io.DataInputStream script, java.lang.String fileName, ProcessingParameter parameter, ProcessingInformation pi)
process in interface InterpreterInterfacescript - Quelltext SkriptfileName - Dateiname des Skripts (nur für detailliertere Fehlerberichte nötig)parameter - Informationen zum Auswerten des Skripts. Falls null wird das Skript nur intrepretiert und nicht ausgeführt.pi - Objekt, in dem die gewonnenen Informationen abgelegt werden