Package com.jedox.palojlib.main
Class ScriptHandler
java.lang.Object
com.jedox.palojlib.main.ScriptHandler
- All Implemented Interfaces:
IScriptHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jedox.palojlib.interfaces.IScriptHandler
IScriptHandler.ScriptCreateClause, IScriptHandler.ScriptModifyClause -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedScriptHandler(Connection conn, ConnectionHandler connectionHandler) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendLanguagesToScriptRequest(StringBuilder currentRequest, IElement[] languages, boolean withAttribute) voidexecute(File scriptFile, String databaseName, IScriptVariable[] sv) voidexecute(String scriptText, String databaseName, IScriptVariable[] sv) getVariables(File scriptFile) getVariables(String script)
-
Constructor Details
-
ScriptHandler
-
-
Method Details
-
getVariables
- Specified by:
getVariablesin interfaceIScriptHandler
-
getVariables
- Specified by:
getVariablesin interfaceIScriptHandler- Throws:
IOException
-
execute
public void execute(File scriptFile, String databaseName, IScriptVariable[] sv) throws FileNotFoundException, IOException - Specified by:
executein interfaceIScriptHandler- Throws:
FileNotFoundExceptionIOException
-
execute
- Specified by:
executein interfaceIScriptHandler
-
appendLanguagesToScriptRequest
public static void appendLanguagesToScriptRequest(StringBuilder currentRequest, IElement[] languages, boolean withAttribute)
-