public class DefaultInstallSvcCommand extends Object implements net.thevpc.nuts.command.NInstallSvcCmd
| Constructor and Description |
|---|
DefaultInstallSvcCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.command.NInstallSvcCmd |
controlCommand(String[] startCommand) |
Map<String,String> |
env() |
net.thevpc.nuts.command.NInstallSvcCmd |
env(Map<String,String> env) |
net.thevpc.nuts.platform.NOsServiceType |
getActualServiceType() |
net.thevpc.nuts.io.NPath |
getRoot() |
String |
getServiceName() |
net.thevpc.nuts.platform.NOsServiceType |
getServiceType() |
boolean |
install() |
boolean |
isVerbose() |
net.thevpc.nuts.command.NInstallSvcCmd |
rootDirectory(net.thevpc.nuts.io.NPath root) |
net.thevpc.nuts.command.NInstallSvcCmd |
serviceName(String serviceName) |
DefaultInstallSvcCommand |
serviceType(net.thevpc.nuts.platform.NOsServiceType serviceType) |
net.thevpc.nuts.command.NInstallSvcCmd |
setVerbose(boolean verbose) |
String[] |
startCommand() |
DefaultInstallSvcCommand |
startCommand(String[] startCommand) |
String[] |
statusCommand() |
DefaultInstallSvcCommand |
statusCommand(String[] statusCommand) |
String[] |
stopCommand() |
DefaultInstallSvcCommand |
stopCommand(String[] stopCommand) |
net.thevpc.nuts.platform.NOsServiceType |
systemServiceType() |
boolean |
uninstall() |
net.thevpc.nuts.io.NPath |
workingDirectory() |
net.thevpc.nuts.command.NInstallSvcCmd |
workingDirectory(net.thevpc.nuts.io.NPath workingDirectory) |
public DefaultInstallSvcCommand serviceType(net.thevpc.nuts.platform.NOsServiceType serviceType)
serviceType in interface net.thevpc.nuts.command.NInstallSvcCmdpublic net.thevpc.nuts.platform.NOsServiceType getServiceType()
public String getServiceName()
public net.thevpc.nuts.command.NInstallSvcCmd serviceName(String serviceName)
serviceName in interface net.thevpc.nuts.command.NInstallSvcCmdpublic net.thevpc.nuts.io.NPath getRoot()
public net.thevpc.nuts.command.NInstallSvcCmd rootDirectory(net.thevpc.nuts.io.NPath root)
rootDirectory in interface net.thevpc.nuts.command.NInstallSvcCmdpublic net.thevpc.nuts.io.NPath workingDirectory()
workingDirectory in interface net.thevpc.nuts.command.NInstallSvcCmdpublic net.thevpc.nuts.command.NInstallSvcCmd workingDirectory(net.thevpc.nuts.io.NPath workingDirectory)
workingDirectory in interface net.thevpc.nuts.command.NInstallSvcCmdpublic boolean isVerbose()
public net.thevpc.nuts.command.NInstallSvcCmd setVerbose(boolean verbose)
public net.thevpc.nuts.command.NInstallSvcCmd controlCommand(String[] startCommand)
controlCommand in interface net.thevpc.nuts.command.NInstallSvcCmdpublic Map<String,String> env()
env in interface net.thevpc.nuts.command.NInstallSvcCmdpublic net.thevpc.nuts.command.NInstallSvcCmd env(Map<String,String> env)
env in interface net.thevpc.nuts.command.NInstallSvcCmdpublic String[] startCommand()
startCommand in interface net.thevpc.nuts.command.NInstallSvcCmdpublic DefaultInstallSvcCommand startCommand(String[] startCommand)
startCommand in interface net.thevpc.nuts.command.NInstallSvcCmdpublic String[] stopCommand()
stopCommand in interface net.thevpc.nuts.command.NInstallSvcCmdpublic DefaultInstallSvcCommand stopCommand(String[] stopCommand)
stopCommand in interface net.thevpc.nuts.command.NInstallSvcCmdpublic String[] statusCommand()
statusCommand in interface net.thevpc.nuts.command.NInstallSvcCmdpublic DefaultInstallSvcCommand statusCommand(String[] statusCommand)
statusCommand in interface net.thevpc.nuts.command.NInstallSvcCmdpublic boolean uninstall()
uninstall in interface net.thevpc.nuts.command.NInstallSvcCmdpublic boolean install()
install in interface net.thevpc.nuts.command.NInstallSvcCmdpublic net.thevpc.nuts.platform.NOsServiceType getActualServiceType()
public net.thevpc.nuts.platform.NOsServiceType systemServiceType()
systemServiceType in interface net.thevpc.nuts.command.NInstallSvcCmdpublic boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurableCopyright © 2026 vpc open source initiative. All rights reserved.