public class SshToolInvocation extends ToolInvocation
Modifier and Type | Field and Description |
---|---|
static String |
SSH_USE_CASE_INVOCATION_TYPE |
inlineByteArrayReferenceBuilder, inlineStringReferenceBuilder, nTempFiles, tags, usecase
Constructor and Description |
---|
SshToolInvocation(ToolDescription desc,
SshNode workerNodeA,
AskUserForPw askUserForPwA,
CredentialManager credentialManager) |
Modifier and Type | Method and Description |
---|---|
static void |
cleanup(String runId,
CredentialManager credentialManager) |
SshReference |
getAsSshReference(ReferenceService referenceService,
T2Reference t2Reference,
SshNode workerNode) |
static void |
load(File directory) |
static void |
persist(File directory) |
void |
rememberRun(String runId) |
String |
setOneInput(ReferenceService referenceService,
T2Reference t2Reference,
ScriptInput input) |
void |
setStdIn(ReferenceService referenceService,
T2Reference t2Reference) |
protected void |
submit_generate_job_inner() |
HashMap<String,Object> |
submit_wait_fetch_results(ReferenceService referenceService) |
static String |
test(SshNode workerNode,
AskUserForPw askUserForPw) |
getActualOsCommand, getAsStream, getContext, getInputs, getRunId, getSubmissionID, getType, isRetrieveData, setContext, setInput, setRetrieveData, setRunId, submit_generate_job, Submit
public static final String SSH_USE_CASE_INVOCATION_TYPE
public SshToolInvocation(ToolDescription desc, SshNode workerNodeA, AskUserForPw askUserForPwA, CredentialManager credentialManager) throws com.jcraft.jsch.JSchException, com.jcraft.jsch.SftpException
com.jcraft.jsch.JSchException
com.jcraft.jsch.SftpException
public static String test(SshNode workerNode, AskUserForPw askUserForPw)
public static void cleanup(String runId, CredentialManager credentialManager) throws InvocationException
InvocationException
protected void submit_generate_job_inner() throws InvocationException
submit_generate_job_inner
in class ToolInvocation
InvocationException
public HashMap<String,Object> submit_wait_fetch_results(ReferenceService referenceService) throws InvocationException
submit_wait_fetch_results
in class ToolInvocation
InvocationException
public String setOneInput(ReferenceService referenceService, T2Reference t2Reference, ScriptInput input) throws InvocationException
setOneInput
in class ToolInvocation
InvocationException
public SshReference getAsSshReference(ReferenceService referenceService, T2Reference t2Reference, SshNode workerNode)
public void setStdIn(ReferenceService referenceService, T2Reference t2Reference)
setStdIn
in class ToolInvocation
public void rememberRun(String runId)
rememberRun
in class ToolInvocation
public static void load(File directory)
public static void persist(File directory)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.