com.xebialabs.deployit.plugin.remoting.scripts
Class ScriptUtils
java.lang.Object
com.xebialabs.deployit.plugin.remoting.scripts.ScriptUtils
public class ScriptUtils
- extends java.lang.Object
|
Method Summary |
static void |
dumpScript(java.lang.String scriptTemplateName,
java.lang.String evaluatedScriptContents,
org.slf4j.Logger logger)
|
static java.lang.String |
loadScript(java.lang.String scriptPath)
|
static java.lang.String |
loadScriptDir(java.lang.String scriptDirPath)
|
static java.lang.String |
loadScriptFromFile(de.schlichtherle.truezip.file.TFile scriptFile)
|
static com.xebialabs.overthere.OverthereFile |
uploadScript(com.xebialabs.overthere.OverthereConnection connection,
java.lang.String scriptFileNameTemplate,
java.lang.String scriptContents)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDC_KEY_SCRIPT_PATH
public static final java.lang.String MDC_KEY_SCRIPT_PATH
- See Also:
- Constant Field Values
ScriptUtils
public ScriptUtils()
loadScript
public static java.lang.String loadScript(java.lang.String scriptPath)
loadScriptDir
public static java.lang.String loadScriptDir(java.lang.String scriptDirPath)
loadScriptFromFile
public static java.lang.String loadScriptFromFile(de.schlichtherle.truezip.file.TFile scriptFile)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
dumpScript
public static void dumpScript(java.lang.String scriptTemplateName,
java.lang.String evaluatedScriptContents,
org.slf4j.Logger logger)
uploadScript
public static com.xebialabs.overthere.OverthereFile uploadScript(com.xebialabs.overthere.OverthereConnection connection,
java.lang.String scriptFileNameTemplate,
java.lang.String scriptContents)