public class DefaultNutsExecutionContext extends Object implements net.thevpc.nuts.NutsExecutionContext
| Constructor and Description |
|---|
DefaultNutsExecutionContext(net.thevpc.nuts.NutsDefinition definition,
String[] arguments,
String[] executorArgs,
Map<String,String> env,
Map<String,String> executorProperties,
String cwd,
net.thevpc.nuts.NutsSession traceSession,
net.thevpc.nuts.NutsSession execSession,
net.thevpc.nuts.NutsWorkspace workspace,
boolean failFast,
boolean temporary,
net.thevpc.nuts.NutsExecutionType executionType,
String commandName,
long sleepMillis,
boolean inheritSystemIO,
String redirectOutputFile,
String redirectInputFile) |
DefaultNutsExecutionContext(net.thevpc.nuts.NutsExecutionContext other) |
public DefaultNutsExecutionContext(net.thevpc.nuts.NutsDefinition definition,
String[] arguments,
String[] executorArgs,
Map<String,String> env,
Map<String,String> executorProperties,
String cwd,
net.thevpc.nuts.NutsSession traceSession,
net.thevpc.nuts.NutsSession execSession,
net.thevpc.nuts.NutsWorkspace workspace,
boolean failFast,
boolean temporary,
net.thevpc.nuts.NutsExecutionType executionType,
String commandName,
long sleepMillis,
boolean inheritSystemIO,
String redirectOutputFile,
String redirectInputFile)
public DefaultNutsExecutionContext(net.thevpc.nuts.NutsExecutionContext other)
public boolean isInheritSystemIO()
isInheritSystemIO in interface net.thevpc.nuts.NutsExecutionContextpublic String getRedirectOutputFile()
getRedirectOutputFile in interface net.thevpc.nuts.NutsExecutionContextpublic String getRedirectInputFile()
getRedirectInputFile in interface net.thevpc.nuts.NutsExecutionContextpublic long getSleepMillis()
getSleepMillis in interface net.thevpc.nuts.NutsExecutionContextpublic String getCommandName()
getCommandName in interface net.thevpc.nuts.NutsExecutionContextpublic String[] getExecutorArguments()
getExecutorArguments in interface net.thevpc.nuts.NutsExecutionContextpublic Map<String,String> getExecutorProperties()
getExecutorProperties in interface net.thevpc.nuts.NutsExecutionContextpublic net.thevpc.nuts.NutsDefinition getDefinition()
getDefinition in interface net.thevpc.nuts.NutsExecutionContextpublic String[] getArguments()
getArguments in interface net.thevpc.nuts.NutsExecutionContextpublic net.thevpc.nuts.NutsWorkspace getWorkspace()
getWorkspace in interface net.thevpc.nuts.NutsExecutionContextpublic net.thevpc.nuts.NutsArtifactCall getExecutorDescriptor()
getExecutorDescriptor in interface net.thevpc.nuts.NutsExecutionContextpublic net.thevpc.nuts.NutsSession getExecSession()
getExecSession in interface net.thevpc.nuts.NutsExecutionContextpublic net.thevpc.nuts.NutsSession getTraceSession()
getTraceSession in interface net.thevpc.nuts.NutsExecutionContextpublic Map<String,String> getEnv()
getEnv in interface net.thevpc.nuts.NutsExecutionContextpublic String getCwd()
getCwd in interface net.thevpc.nuts.NutsExecutionContextpublic boolean isFailFast()
isFailFast in interface net.thevpc.nuts.NutsExecutionContextpublic boolean isTemporary()
isTemporary in interface net.thevpc.nuts.NutsExecutionContextpublic net.thevpc.nuts.NutsExecutionType getExecutionType()
getExecutionType in interface net.thevpc.nuts.NutsExecutionContextpublic DefaultNutsExecutionContext setDefinition(net.thevpc.nuts.NutsDefinition definition)
public DefaultNutsExecutionContext setEnv(Map<String,String> env)
public DefaultNutsExecutionContext setExecutorArguments(String[] executorArguments)
public DefaultNutsExecutionContext setExecutorProperties(Map<String,String> executorProperties)
public DefaultNutsExecutionContext setArguments(String[] arguments)
public DefaultNutsExecutionContext setExecSession(net.thevpc.nuts.NutsSession execSession)
public DefaultNutsExecutionContext setTraceSession(net.thevpc.nuts.NutsSession traceSession)
public DefaultNutsExecutionContext setWorkspace(net.thevpc.nuts.NutsWorkspace workspace)
public DefaultNutsExecutionContext setExecutorDescriptor(net.thevpc.nuts.NutsArtifactCall executorDescriptor)
public DefaultNutsExecutionContext setCwd(String cwd)
public DefaultNutsExecutionContext setCommandName(String commandName)
public DefaultNutsExecutionContext setFailFast(boolean failFast)
public DefaultNutsExecutionContext setTemporary(boolean temporary)
public DefaultNutsExecutionContext setExecutionType(net.thevpc.nuts.NutsExecutionType executionType)
public net.thevpc.nuts.NutsRunAs getRunAs()
getRunAs in interface net.thevpc.nuts.NutsExecutionContextpublic DefaultNutsExecutionContext setRunAs(net.thevpc.nuts.NutsRunAs runAs)
Copyright © 2021 vpc open source initiative. All rights reserved.