public class DefaultNExecCmd extends AbstractNExecCmd
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNExecCmd.NExecutorComponentAndContext |
bot, command, commandDefinition, directory, dry, env, err, executed, executionTime, executionType, executorOptions, failFast, in, multipleRuns, multipleRunsCron, multipleRunsMaxCount, multipleRunsMinTimeMs, multipleRunsSafeTimeMs, out, resultException, runAs, workspaceOptions| Constructor and Description |
|---|
DefaultNExecCmd(net.thevpc.nuts.NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
static CharacterizedExecFile |
characterizeForExec(net.thevpc.nuts.io.NInputSource contentFile,
List<String> execOptions) |
protected net.thevpc.nuts.NId |
findExecId(net.thevpc.nuts.NId nid,
net.thevpc.nuts.NSession traceSession,
boolean forceInstalled,
boolean ignoreIfUserCommand) |
boolean |
isUserCommand(String s) |
net.thevpc.nuts.NExecCmd |
run() |
net.thevpc.nuts.NExecutableInformation |
which() |
protected NExecutableInformationExt |
ws_execDef(net.thevpc.nuts.NDefinition def,
String commandName,
String[] appArgs,
List<String> executorOptions,
List<String> workspaceOptions,
Map<String,String> env,
net.thevpc.nuts.io.NPath dir,
boolean failFast,
net.thevpc.nuts.NExecutionType executionType,
net.thevpc.nuts.NRunAs runAs) |
int |
ws_execId(net.thevpc.nuts.NDefinition def,
String commandName,
String[] appArgs,
List<String> executorOptions,
List<String> workspaceOptions,
Map<String,String> env,
net.thevpc.nuts.io.NPath dir,
boolean failFast,
boolean temporary,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
net.thevpc.nuts.NExecutionType executionType,
net.thevpc.nuts.NRunAs runAs) |
protected NExecutableInformationExt |
ws_execId(net.thevpc.nuts.NId goodId,
String commandName,
String[] appArgs,
List<String> executorOptions,
List<String> workspaceOptions,
net.thevpc.nuts.NExecutionType executionType,
net.thevpc.nuts.NRunAs runAs) |
DefaultNExecCmd.NExecutorComponentAndContext |
ws_execId2(net.thevpc.nuts.NDefinition def,
String commandName,
String[] appArgs,
List<String> executorOptions,
List<String> workspaceOptions,
Map<String,String> env,
net.thevpc.nuts.io.NPath dir,
boolean failFast,
boolean temporary,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
net.thevpc.nuts.NExecutionType executionType,
net.thevpc.nuts.NRunAs runAs) |
addCommand, addCommand, addCommand, addEnv, addExecutorOption, addExecutorOptions, addExecutorOptions, addWorkspaceOptions, addWorkspaceOptions, at, at, clearCommand, clearEnv, clearExecutorOptions, clearWorkspaceOptions, configureFirst, copy, copyFrom, currentUser, embedded, failFast, getBot, getCommand, getCommandDefinition, getCommandString, getCommandString, getConnexionString, getDirectory, getDry, getEnv, getErr, getExecutionType, getExecutorOptions, getExtraErrorMessage, getGrabbedAllString, getGrabbedErrString, getGrabbedOutOnlyString, getGrabbedOutString, getIn, getOut, getResultCode, getResultException, getRunAs, getSleepMillis, getSupportLevel, getWorkspaceOptions, grabAll, grabErr, grabOut, grabOutOnly, isFailFast, open, redirectErr, root, setBot, setCommand, setCommand, setCommandDefinition, setConnexionString, setConnexionString, setDirectory, setDry, setEnv, setEnv, setErr, setExecutionType, setExecutorOptions, setFailFast, setIn, setOut, setRunAs, setSleepMillis, spawn, sudo, system, toString_LOG, _LOGOP, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultpublic net.thevpc.nuts.NExecutableInformation which()
public net.thevpc.nuts.NExecCmd run()
protected net.thevpc.nuts.NId findExecId(net.thevpc.nuts.NId nid,
net.thevpc.nuts.NSession traceSession,
boolean forceInstalled,
boolean ignoreIfUserCommand)
public boolean isUserCommand(String s)
protected NExecutableInformationExt ws_execId(net.thevpc.nuts.NId goodId, String commandName, String[] appArgs, List<String> executorOptions, List<String> workspaceOptions, net.thevpc.nuts.NExecutionType executionType, net.thevpc.nuts.NRunAs runAs)
protected NExecutableInformationExt ws_execDef(net.thevpc.nuts.NDefinition def, String commandName, String[] appArgs, List<String> executorOptions, List<String> workspaceOptions, Map<String,String> env, net.thevpc.nuts.io.NPath dir, boolean failFast, net.thevpc.nuts.NExecutionType executionType, net.thevpc.nuts.NRunAs runAs)
public int ws_execId(net.thevpc.nuts.NDefinition def,
String commandName,
String[] appArgs,
List<String> executorOptions,
List<String> workspaceOptions,
Map<String,String> env,
net.thevpc.nuts.io.NPath dir,
boolean failFast,
boolean temporary,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
net.thevpc.nuts.NExecutionType executionType,
net.thevpc.nuts.NRunAs runAs)
public DefaultNExecCmd.NExecutorComponentAndContext ws_execId2(net.thevpc.nuts.NDefinition def, String commandName, String[] appArgs, List<String> executorOptions, List<String> workspaceOptions, Map<String,String> env, net.thevpc.nuts.io.NPath dir, boolean failFast, boolean temporary, net.thevpc.nuts.io.NExecInput in, net.thevpc.nuts.io.NExecOutput out, net.thevpc.nuts.io.NExecOutput err, net.thevpc.nuts.NExecutionType executionType, net.thevpc.nuts.NRunAs runAs)
public static CharacterizedExecFile characterizeForExec(net.thevpc.nuts.io.NInputSource contentFile, List<String> execOptions)
Copyright © 2025 vpc open source initiative. All rights reserved.