public abstract class AbstractRunner extends Object implements NCmdLineConfigurable
| Modifier and Type | Field and Description |
|---|---|
protected NPath |
CURRENT_FOLDER |
protected NPath |
INIT_FOLDER |
| Constructor and Description |
|---|
AbstractRunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
cd(NPath p) |
void |
cdInitial() |
Object |
configure(boolean skipUnsupported,
String... args) |
void |
configure(NCmdLine args) |
void |
configureAfterOptions() |
void |
configureBeforeOptions(NCmdLine cmdLine) |
NutsBuildRunnerContext |
context() |
void |
copyWithHeader(NPath from,
NPath to,
String header) |
void |
cp(NPath from,
NPath to) |
String |
date(String format) |
void |
echo(NMsg msg) |
void |
echo(String message) |
void |
echoC(String message,
Object... vars) |
void |
echoV(String message,
Map<String,?> vars) |
void |
exec(String... cmd) |
void |
exec(String cmd) |
void |
exec(String cmd,
String... cmds) |
void |
exec(String cmd,
String arg) |
String |
execAsString(String... cmd) |
protected NPath |
localMvn() |
void |
mkdir(NPath path) |
void |
mvn(String... args) |
void |
mvnInstall() |
void |
ng(String... args) |
void |
ngBuild() |
NPath |
path(String path) |
void |
pushIdFiles(String... ids) |
String |
readString(NPath path) |
void |
remoteCopyFile(NPath fromRemote,
NPath toRemote) |
void |
remoteCopyFile(String fromRemote,
String toRemote) |
void |
remoteCopyFolder(NPath fromRemote,
NPath toRemote) |
void |
remoteCopyFolder(String fromRemote,
String toRemote) |
void |
remoteDeleteFile(String path) |
void |
remoteDeleteFolder(String path) |
void |
remoteExec(String command) |
JpsResult[] |
remoteJps() |
void |
remoteKill(long pid) |
void |
remoteMkdirs(String path) |
protected NPath |
remoteMvn() |
protected NPath |
remoteThevpcMavenPath() |
protected NPath |
remoteTheVpcNutsPath() |
void |
rexec(String... command) |
void |
rm(NPath path) |
void |
rmDir(NPath path) |
abstract void |
run() |
void |
scp(String... cmd) |
void |
sed(String fromExpr,
String to,
NPath path) |
void |
sleep(int seconds) |
void |
ssh(String... cmd) |
String |
sshAsString(String... cmd) |
void |
trace(NCmdLine cmdLine) |
void |
trace(String message) |
void |
trace(String message,
Map<String,?> vars) |
void |
traceCmd(String... cmdLine) |
void |
upload(NPath fromLocal,
NPath toRemote) |
void |
upload(NPath fromLocal,
String toRemote) |
void |
upload(String rfrom,
String to) |
void |
writeString(NPath path,
String str) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, configure, configureFirst, configureLastpublic void configureBeforeOptions(NCmdLine cmdLine)
public void configureAfterOptions()
public NutsBuildRunnerContext context()
public Object configure(boolean skipUnsupported, String... args)
configure in interface NCmdLineConfigurablepublic void configure(NCmdLine args)
public abstract void run()
public void mvn(String... args)
public void mvnInstall()
public void ng(String... args)
public void ngBuild()
public void ssh(String... cmd)
public void scp(String... cmd)
public void exec(String cmd)
public void mkdir(NPath path)
public void rmDir(NPath path)
public void rm(NPath path)
public void exec(String... cmd)
public void traceCmd(String... cmdLine)
public void trace(NCmdLine cmdLine)
public void trace(String message)
public void echo(NMsg msg)
public void echo(String message)
public void sleep(int seconds)
public void cdInitial()
public void cd(NPath p)
public void remoteDeleteFolder(String path)
public void remoteDeleteFile(String path)
public void remoteExec(String command)
public void remoteKill(long pid)
public JpsResult[] remoteJps()
protected NPath remoteThevpcMavenPath()
protected NPath remoteTheVpcNutsPath()
protected NPath localMvn()
protected NPath remoteMvn()
public void pushIdFiles(String... ids)
public void remoteMkdirs(String path)
public void rexec(String... command)
Copyright © 2026 vpc open source initiative. All rights reserved.