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, workspaceOptionsCUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNExecCmd(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
static CharacterizedExecFile |
characterizeForExec(NInputSource contentFile,
List<String> execOptions) |
protected NId |
findExecId(NId nid,
NSession traceSession,
boolean forceInstalled,
boolean ignoreIfUserCommand) |
boolean |
isUserCommand(String s) |
NExecCmd |
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) |
DefaultNExecCmd.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, getConnexionString, getDirectory, getDry, getEnv, getErr, getExecutionType, getExecutorOptions, getExtraErrorMessage, getGrabbedAllString, getGrabbedErrString, getGrabbedOutOnlyString, getGrabbedOutString, getIn, getOut, getResultCode, getResultException, getRunAs, getScore, getSleepMillis, 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, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconfigure, configure, configureLastisValidScore, query, querypublic DefaultNExecCmd(NWorkspace workspace)
public NExecutableInformation which()
public NExecCmd run()
protected NId 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 DefaultNExecCmd.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 © 2025 vpc open source initiative. All rights reserved.