public class CreateScriptRequest extends ScriptRequest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHECKSUM_ALGORITHM
Verwendeter Algorithmus zum Berechnen der Prüfsumme.
|
client, dataManager, dav, debug, requestId, script| Constructor and Description |
|---|
CreateScriptRequest(de.bsvrz.dav.daf.main.ClientDavInterface dav,
DataManagerInterface dataManager,
de.bsvrz.dav.daf.main.ResultData resultData,
boolean prettyPrint)
Erzeugt eine Skript-bezogene Anfrage.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
calcChecksum(java.lang.String source)
Berechnet die Prüfsumme für ein Skript.
|
static de.bsvrz.sys.funclib.losb.datk.AtlMeta |
loadMetaInformation(java.lang.String fileName)
Lädt die zum Skript gehörenden Metainformationen.
|
ProtocolRequestResult |
process()
Erzeugt oder editiert ein Skriptobjekt und den zugehörigen Quelltext.
|
abort, isAborted, printPrettypublic static final java.lang.String CHECKSUM_ALGORITHM
public CreateScriptRequest(de.bsvrz.dav.daf.main.ClientDavInterface dav,
DataManagerInterface dataManager,
de.bsvrz.dav.daf.main.ResultData resultData,
boolean prettyPrint)
dav - Verbindung zum DatenverteilerdataManager - Data ManagerresultData - EingangsdatenprettyPrint - Soll der Pretty-printer verwendet werden?public ProtocolRequestResult process()
process in interface DataManagerRequestprocess in class ScriptRequestpublic static de.bsvrz.sys.funclib.losb.datk.AtlMeta loadMetaInformation(java.lang.String fileName)
throws de.bsvrz.sys.funclib.losb.exceptions.FailureException
fileName - Dateiname der gespeicherten Metainformationennull, falls keine auf dem Datenträger gespeichert war.de.bsvrz.sys.funclib.losb.exceptions.FailureException - Fehler beim Zugriff auf die Metainformationen.public static byte[] calcChecksum(java.lang.String source)
throws de.bsvrz.sys.funclib.losb.exceptions.FailureException,
java.security.NoSuchAlgorithmException
source - Skriptquelltext.de.bsvrz.sys.funclib.losb.exceptions.FailureException - Fehler bei der Berechnung der Prüfsumme.java.security.NoSuchAlgorithmException - Unbekannter Algorithmus zur Prüfsummenberechnung.