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, clearCommand, clearEnv, clearExecutorOptions, clearWorkspaceOptions, configureFirst, copy, copyFrom, currentUser, embedded, failFast, getBot, getCommand, getCommandDefinition, getCommandString, getCommandString, getConnectionString, getDirectory, getDry, getEnv, getErr, getExecutionType, getExecutorOptions, getExtraErrorMessage, getGrabbedAllString, getGrabbedErrBytes, getGrabbedErrString, getGrabbedOutBytes, getGrabbedOutOnlyString, getGrabbedOutString, getIn, getOut, getResultCode, getResultException, getRunAs, getSleepMillis, getWorkspaceOptions, grabAll, grabErr, grabOut, grabOutOnly, isFailFast, isRawCommand, open, redirectErr, root, setBot, setCommand, setCommand, setCommandDefinition, setConnectionString, setConnectionString, setDirectory, setDry, setEnv, setEnv, setErr, setExecutionType, setExecutorOptions, setFailFast, setIn, setOut, setRawCommand, setRunAs, setSleepMillis, spawn, sudo, system, toString_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.