public class DefaultNExec extends AbstractNExec
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DefaultNExec.IdOrSysPath |
static class |
DefaultNExec.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 |
|---|
DefaultNExec() |
| Modifier and Type | Method and Description |
|---|---|
static CharacterizedExecFile |
characterizeForExec(NInputSource contentFile,
List<String> execOptions) |
protected DefaultNExec.IdOrSysPath |
findExecId(NId nid,
NSession traceSession,
boolean forceInstalled,
boolean ignoreIfUserCommand) |
boolean |
isUserCommand(String s) |
NExec |
run() |
NExecutableInformation |
which() |
protected NExecutableInformationExt |
ws_execDef(NDefinition def,
String commandName,
String[] appArgs,
List<String> executorOptions,
List<String> workspaceOptions,
Map<String,String> env,
NPath dir,
boolean failFast,
NExecutionType executionType,
NRunAs runAs) |
int |
ws_execId(NDefinition def,
String commandName,
String[] appArgs,
List<String> executorOptions,
List<String> workspaceOptions,
Map<String,String> env,
NPath dir,
boolean failFast,
boolean temporary,
NExecInput in,
NExecOutput out,
NExecOutput err,
NExecutionType executionType,
NRunAs runAs) |
protected NExecutableInformationExt |
ws_execId(NId goodId,
String commandName,
String[] appArgs,
List<String> executorOptions,
List<String> workspaceOptions,
NExecutionType executionType,
NRunAs runAs) |
DefaultNExec.NExecutorComponentAndContext |
ws_execId2(NDefinition def,
String commandName,
String[] appArgs,
List<String> executorOptions,
List<String> workspaceOptions,
Map<String,String> env,
NPath dir,
boolean failFast,
boolean temporary,
NExecInput in,
NExecOutput out,
NExecOutput err,
NExecutionType executionType,
NRunAs runAs) |
addCommand, addCommand, addCommand, addEnv, addExecutorOption, addExecutorOptions, addExecutorOptions, addWorkspaceOptions, addWorkspaceOptions, at, at, bot, bot, clearCommand, clearEnv, clearExecutorOptions, clearWorkspaceOptions, command, command, command, commandDefinition, commandDefinition, configureFirst, connectionString, connectionString, connectionString, copy, copyFrom, currentUser, directory, directory, dry, dry, embedded, env, env, env, err, err, executionType, executionType, executorOptions, executorOptions, exitCode, failFast, getCommandString, getCommandString, getExtraErrorMessage, grabAll, grabbedAll, grabbedErr, grabbedErrBytes, grabbedOut, grabbedOutBytes, grabbedOutOnly, grabErr, grabOut, grabOutOnly, in, in, isFailFast, isRawCommand, maxBytes, maxLines, open, out, out, rawCommand, redirectErr, resultException, root, runAs, runAs, sleepDuration, sleepDuration, spawn, sudo, system, toString, workspaceOptions_LOG, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconfigure, of, of, ofOpenFile, ofSystemconfigure, configure, configureLastpublic NExecutableInformation which()
public NExec run()
protected DefaultNExec.IdOrSysPath findExecId(NId nid, NSession traceSession, boolean forceInstalled, boolean ignoreIfUserCommand)
public boolean isUserCommand(String s)
protected NExecutableInformationExt ws_execId(NId goodId, String commandName, String[] appArgs, List<String> executorOptions, List<String> workspaceOptions, NExecutionType executionType, NRunAs runAs)
protected NExecutableInformationExt ws_execDef(NDefinition def, String commandName, String[] appArgs, List<String> executorOptions, List<String> workspaceOptions, Map<String,String> env, NPath dir, boolean failFast, NExecutionType executionType, NRunAs runAs)
public int ws_execId(NDefinition def, String commandName, String[] appArgs, List<String> executorOptions, List<String> workspaceOptions, Map<String,String> env, NPath dir, boolean failFast, boolean temporary, NExecInput in, NExecOutput out, NExecOutput err, NExecutionType executionType, NRunAs runAs)
public DefaultNExec.NExecutorComponentAndContext ws_execId2(NDefinition def, String commandName, String[] appArgs, List<String> executorOptions, List<String> workspaceOptions, Map<String,String> env, NPath dir, boolean failFast, boolean temporary, NExecInput in, NExecOutput out, NExecOutput err, NExecutionType executionType, NRunAs runAs)
public static CharacterizedExecFile characterizeForExec(NInputSource contentFile, List<String> execOptions)
Copyright © 2026 vpc open source initiative. All rights reserved.