public class LocalToolInvocation extends ToolInvocation
Modifier and Type | Field and Description |
---|---|
static String |
LOCAL_USE_CASE_INVOCATION_TYPE |
inlineByteArrayReferenceBuilder, inlineStringReferenceBuilder, nTempFiles, tags, usecase
Constructor and Description |
---|
LocalToolInvocation(ToolDescription desc,
boolean retrieveData,
String mainTempDirectory,
String shellPrefix,
String linkCommand) |
Modifier and Type | Method and Description |
---|---|
static void |
cleanup(String runId) |
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) |
getActualOsCommand, getAsStream, getContext, getInputs, getRunId, getSubmissionID, getType, isRetrieveData, setContext, setInput, setRetrieveData, setRunId, submit_generate_job, Submit
public static String LOCAL_USE_CASE_INVOCATION_TYPE
public LocalToolInvocation(ToolDescription desc, boolean retrieveData, String mainTempDirectory, String shellPrefix, String linkCommand) throws IOException
IOException
public String setOneInput(ReferenceService referenceService, T2Reference t2Reference, ScriptInput input) throws InvocationException
setOneInput
in class ToolInvocation
InvocationException
public static void cleanup(String runId)
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 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.