public abstract class AbstractRunner extends Object implements net.thevpc.nuts.cmdline.NCmdLineConfigurable
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.io.NPath |
CURRENT_FOLDER |
protected net.thevpc.nuts.io.NPath |
INIT_FOLDER |
| Constructor and Description |
|---|
AbstractRunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
cd(net.thevpc.nuts.io.NPath p) |
void |
cdInitial() |
Object |
configure(boolean skipUnsupported,
String... args) |
void |
configure(net.thevpc.nuts.cmdline.NCmdLine args) |
void |
configureAfterOptions() |
void |
configureBeforeOptions(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
NutsBuildRunnerContext |
context() |
void |
copyWithHeader(net.thevpc.nuts.io.NPath from,
net.thevpc.nuts.io.NPath to,
String header) |
void |
cp(net.thevpc.nuts.io.NPath from,
net.thevpc.nuts.io.NPath to) |
String |
date(String format) |
void |
echo(net.thevpc.nuts.text.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 net.thevpc.nuts.io.NPath |
localMvn() |
void |
mkdir(net.thevpc.nuts.io.NPath path) |
void |
mvn(String... args) |
void |
mvnInstall() |
void |
ng(String... args) |
void |
ngBuild() |
net.thevpc.nuts.io.NPath |
path(String path) |
void |
pushIdFiles(String... ids) |
String |
readString(net.thevpc.nuts.io.NPath path) |
void |
remoteCopyFile(net.thevpc.nuts.io.NPath fromRemote,
net.thevpc.nuts.io.NPath toRemote) |
void |
remoteCopyFile(String fromRemote,
String toRemote) |
void |
remoteCopyFolder(net.thevpc.nuts.io.NPath fromRemote,
net.thevpc.nuts.io.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 net.thevpc.nuts.io.NPath |
remoteThevpcMavenPath() |
protected net.thevpc.nuts.io.NPath |
remoteTheVpcNutsPath() |
protected net.thevpc.nuts.io.NPath |
removeMvn() |
void |
rexec(String... command) |
void |
rm(net.thevpc.nuts.io.NPath path) |
void |
rmDir(net.thevpc.nuts.io.NPath path) |
abstract void |
run() |
void |
scp(String... cmd) |
void |
sed(String fromExpr,
String to,
net.thevpc.nuts.io.NPath path) |
void |
sleep(int seconds) |
void |
ssh(String... cmd) |
String |
sshAsString(String... cmd) |
void |
trace(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
void |
trace(String message) |
void |
trace(String message,
Map<String,?> vars) |
void |
traceCmd(String... cmdLine) |
void |
upload(net.thevpc.nuts.io.NPath fromLocal,
net.thevpc.nuts.io.NPath toRemote) |
void |
upload(net.thevpc.nuts.io.NPath fromLocal,
String toRemote) |
void |
upload(String rfrom,
String to) |
void |
writeString(net.thevpc.nuts.io.NPath path,
String str) |
protected net.thevpc.nuts.io.NPath INIT_FOLDER
protected net.thevpc.nuts.io.NPath CURRENT_FOLDER
public void configureBeforeOptions(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
public void configureAfterOptions()
public NutsBuildRunnerContext context()
public Object configure(boolean skipUnsupported, String... args)
configure in interface net.thevpc.nuts.cmdline.NCmdLineConfigurablepublic void configure(net.thevpc.nuts.cmdline.NCmdLine args)
public abstract void run()
public String readString(net.thevpc.nuts.io.NPath path)
public void writeString(net.thevpc.nuts.io.NPath path,
String str)
public void mvn(String... args)
public void mvnInstall()
public void ng(String... args)
public void ngBuild()
public net.thevpc.nuts.io.NPath path(String path)
public void ssh(String... cmd)
public void scp(String... cmd)
public void exec(String cmd)
public void mkdir(net.thevpc.nuts.io.NPath path)
public void rmDir(net.thevpc.nuts.io.NPath path)
public void rm(net.thevpc.nuts.io.NPath path)
public void cp(net.thevpc.nuts.io.NPath from,
net.thevpc.nuts.io.NPath to)
public void exec(String... cmd)
public void copyWithHeader(net.thevpc.nuts.io.NPath from,
net.thevpc.nuts.io.NPath to,
String header)
public void traceCmd(String... cmdLine)
public void trace(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
public void trace(String message)
public void echo(net.thevpc.nuts.text.NMsg msg)
public void echo(String message)
public void sleep(int seconds)
public void cdInitial()
public void cd(net.thevpc.nuts.io.NPath p)
public void upload(net.thevpc.nuts.io.NPath fromLocal,
String toRemote)
public void upload(net.thevpc.nuts.io.NPath fromLocal,
net.thevpc.nuts.io.NPath toRemote)
public void remoteDeleteFolder(String path)
public void remoteDeleteFile(String path)
public void remoteCopyFolder(net.thevpc.nuts.io.NPath fromRemote,
net.thevpc.nuts.io.NPath toRemote)
public void remoteCopyFile(net.thevpc.nuts.io.NPath fromRemote,
net.thevpc.nuts.io.NPath toRemote)
public void remoteExec(String command)
public void remoteKill(long pid)
public JpsResult[] remoteJps()
protected net.thevpc.nuts.io.NPath remoteThevpcMavenPath()
protected net.thevpc.nuts.io.NPath remoteTheVpcNutsPath()
protected net.thevpc.nuts.io.NPath localMvn()
protected net.thevpc.nuts.io.NPath removeMvn()
public void pushIdFiles(String... ids)
public void remoteMkdirs(String path)
public void rexec(String... command)
Copyright © 2025 vpc open source initiative. All rights reserved.