public class DefaultNExecutionContext extends Object implements net.thevpc.nuts.NExecutionContext
| Constructor and Description |
|---|
DefaultNExecutionContext(net.thevpc.nuts.NDefinition definition,
List<String> arguments,
List<String> executorArgs,
List<String> workspaceOptions,
Map<String,String> env,
net.thevpc.nuts.io.NPath cwd,
boolean failFast,
boolean temporary,
net.thevpc.nuts.NExecutionType executionType,
String commandName,
long sleepMillis,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
boolean dry,
boolean bot) |
DefaultNExecutionContext(net.thevpc.nuts.NExecutionContext other) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getArguments() |
String |
getCommandName() |
net.thevpc.nuts.NDefinition |
getDefinition() |
net.thevpc.nuts.io.NPath |
getDirectory() |
Map<String,String> |
getEnv() |
net.thevpc.nuts.io.NExecOutput |
getErr() |
net.thevpc.nuts.NExecutionType |
getExecutionType() |
net.thevpc.nuts.NArtifactCall |
getExecutorDescriptor() |
List<String> |
getExecutorOptions() |
net.thevpc.nuts.io.NExecInput |
getIn() |
net.thevpc.nuts.io.NExecOutput |
getOut() |
net.thevpc.nuts.NRunAs |
getRunAs() |
net.thevpc.nuts.NSession |
getSession() |
long |
getSleepMillis() |
List<String> |
getWorkspaceOptions() |
boolean |
isBot() |
boolean |
isDry() |
boolean |
isFailFast() |
boolean |
isTemporary() |
DefaultNExecutionContext |
setArguments(String[] arguments) |
DefaultNExecutionContext |
setCommandName(String commandName) |
DefaultNExecutionContext |
setCwd(net.thevpc.nuts.io.NPath cwd) |
DefaultNExecutionContext |
setDefinition(net.thevpc.nuts.NDefinition definition) |
net.thevpc.nuts.NExecutionContext |
setDry(boolean dry) |
DefaultNExecutionContext |
setEnv(Map<String,String> env) |
DefaultNExecutionContext |
setErr(net.thevpc.nuts.io.NExecOutput err) |
DefaultNExecutionContext |
setExecutionType(net.thevpc.nuts.NExecutionType executionType) |
DefaultNExecutionContext |
setExecutorDescriptor(net.thevpc.nuts.NArtifactCall executorDescriptor) |
DefaultNExecutionContext |
setExecutorOptions(String[] executorOptions) |
DefaultNExecutionContext |
setFailFast(boolean failFast) |
DefaultNExecutionContext |
setIn(net.thevpc.nuts.io.NExecInput in) |
DefaultNExecutionContext |
setOut(net.thevpc.nuts.io.NExecOutput out) |
DefaultNExecutionContext |
setRunAs(net.thevpc.nuts.NRunAs runAs) |
DefaultNExecutionContext |
setSession(net.thevpc.nuts.NSession session) |
DefaultNExecutionContext |
setTemporary(boolean temporary) |
public DefaultNExecutionContext(net.thevpc.nuts.NDefinition definition,
List<String> arguments,
List<String> executorArgs,
List<String> workspaceOptions,
Map<String,String> env,
net.thevpc.nuts.io.NPath cwd,
boolean failFast,
boolean temporary,
net.thevpc.nuts.NExecutionType executionType,
String commandName,
long sleepMillis,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
boolean dry,
boolean bot)
public DefaultNExecutionContext(net.thevpc.nuts.NExecutionContext other)
public boolean isDry()
isDry in interface net.thevpc.nuts.NExecutionContextpublic net.thevpc.nuts.NExecutionContext setDry(boolean dry)
setDry in interface net.thevpc.nuts.NExecutionContextpublic boolean isBot()
isBot in interface net.thevpc.nuts.NExecutionContextpublic net.thevpc.nuts.io.NExecInput getIn()
getIn in interface net.thevpc.nuts.NExecutionContextpublic DefaultNExecutionContext setIn(net.thevpc.nuts.io.NExecInput in)
setIn in interface net.thevpc.nuts.NExecutionContextpublic net.thevpc.nuts.io.NExecOutput getOut()
getOut in interface net.thevpc.nuts.NExecutionContextpublic DefaultNExecutionContext setOut(net.thevpc.nuts.io.NExecOutput out)
setOut in interface net.thevpc.nuts.NExecutionContextpublic net.thevpc.nuts.io.NExecOutput getErr()
getErr in interface net.thevpc.nuts.NExecutionContextpublic DefaultNExecutionContext setErr(net.thevpc.nuts.io.NExecOutput err)
setErr in interface net.thevpc.nuts.NExecutionContextpublic long getSleepMillis()
getSleepMillis in interface net.thevpc.nuts.NExecutionContextpublic String getCommandName()
getCommandName in interface net.thevpc.nuts.NExecutionContextpublic List<String> getExecutorOptions()
getExecutorOptions in interface net.thevpc.nuts.NExecutionContextpublic List<String> getWorkspaceOptions()
getWorkspaceOptions in interface net.thevpc.nuts.NExecutionContextpublic net.thevpc.nuts.NDefinition getDefinition()
getDefinition in interface net.thevpc.nuts.NExecutionContextpublic List<String> getArguments()
getArguments in interface net.thevpc.nuts.NExecutionContextpublic net.thevpc.nuts.NArtifactCall getExecutorDescriptor()
getExecutorDescriptor in interface net.thevpc.nuts.NExecutionContextpublic net.thevpc.nuts.NSession getSession()
getSession in interface net.thevpc.nuts.NSessionProviderpublic Map<String,String> getEnv()
getEnv in interface net.thevpc.nuts.NExecutionContextpublic net.thevpc.nuts.io.NPath getDirectory()
getDirectory in interface net.thevpc.nuts.NExecutionContextpublic boolean isFailFast()
isFailFast in interface net.thevpc.nuts.NExecutionContextpublic boolean isTemporary()
isTemporary in interface net.thevpc.nuts.NExecutionContextpublic net.thevpc.nuts.NExecutionType getExecutionType()
getExecutionType in interface net.thevpc.nuts.NExecutionContextpublic DefaultNExecutionContext setDefinition(net.thevpc.nuts.NDefinition definition)
public DefaultNExecutionContext setEnv(Map<String,String> env)
public DefaultNExecutionContext setExecutorOptions(String[] executorOptions)
public DefaultNExecutionContext setArguments(String[] arguments)
public DefaultNExecutionContext setSession(net.thevpc.nuts.NSession session)
public DefaultNExecutionContext setExecutorDescriptor(net.thevpc.nuts.NArtifactCall executorDescriptor)
public DefaultNExecutionContext setCwd(net.thevpc.nuts.io.NPath cwd)
public DefaultNExecutionContext setCommandName(String commandName)
public DefaultNExecutionContext setFailFast(boolean failFast)
public DefaultNExecutionContext setTemporary(boolean temporary)
public DefaultNExecutionContext setExecutionType(net.thevpc.nuts.NExecutionType executionType)
public net.thevpc.nuts.NRunAs getRunAs()
getRunAs in interface net.thevpc.nuts.NExecutionContextpublic DefaultNExecutionContext setRunAs(net.thevpc.nuts.NRunAs runAs)
Copyright © 2025 vpc open source initiative. All rights reserved.