public class DefaultInstallSvcCommand extends Object implements net.thevpc.nuts.NInstallSvcCmd
| Constructor and Description |
|---|
DefaultInstallSvcCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.NOsServiceType |
getActualServiceType() |
Map<String,String> |
getEnv() |
net.thevpc.nuts.io.NPath |
getRoot() |
String |
getServiceName() |
net.thevpc.nuts.NOsServiceType |
getServiceType() |
String[] |
getStartCommand() |
String[] |
getStatusCommand() |
String[] |
getStopCommand() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
net.thevpc.nuts.NOsServiceType |
getSystemServiceType() |
net.thevpc.nuts.io.NPath |
getWorkingDirectory() |
boolean |
install() |
boolean |
isVerbose() |
net.thevpc.nuts.NInstallSvcCmd |
setControlCommand(String[] startCommand) |
net.thevpc.nuts.NInstallSvcCmd |
setEnv(Map<String,String> env) |
net.thevpc.nuts.NInstallSvcCmd |
setRootDirectory(net.thevpc.nuts.io.NPath root) |
net.thevpc.nuts.NInstallSvcCmd |
setServiceName(String serviceName) |
DefaultInstallSvcCommand |
setServiceType(net.thevpc.nuts.NOsServiceType serviceType) |
DefaultInstallSvcCommand |
setStartCommand(String[] startCommand) |
DefaultInstallSvcCommand |
setStatusCommand(String[] statusCommand) |
DefaultInstallSvcCommand |
setStopCommand(String[] stopCommand) |
net.thevpc.nuts.NInstallSvcCmd |
setVerbose(boolean verbose) |
net.thevpc.nuts.NInstallSvcCmd |
setWorkingDirectory(net.thevpc.nuts.io.NPath workingDirectory) |
boolean |
uninstall() |
public DefaultInstallSvcCommand setServiceType(net.thevpc.nuts.NOsServiceType serviceType)
setServiceType in interface net.thevpc.nuts.NInstallSvcCmdpublic net.thevpc.nuts.NOsServiceType getServiceType()
public String getServiceName()
public net.thevpc.nuts.NInstallSvcCmd setServiceName(String serviceName)
setServiceName in interface net.thevpc.nuts.NInstallSvcCmdpublic net.thevpc.nuts.io.NPath getRoot()
public net.thevpc.nuts.NInstallSvcCmd setRootDirectory(net.thevpc.nuts.io.NPath root)
setRootDirectory in interface net.thevpc.nuts.NInstallSvcCmdpublic net.thevpc.nuts.io.NPath getWorkingDirectory()
getWorkingDirectory in interface net.thevpc.nuts.NInstallSvcCmdpublic net.thevpc.nuts.NInstallSvcCmd setWorkingDirectory(net.thevpc.nuts.io.NPath workingDirectory)
setWorkingDirectory in interface net.thevpc.nuts.NInstallSvcCmdpublic boolean isVerbose()
public net.thevpc.nuts.NInstallSvcCmd setVerbose(boolean verbose)
public net.thevpc.nuts.NInstallSvcCmd setControlCommand(String[] startCommand)
setControlCommand in interface net.thevpc.nuts.NInstallSvcCmdpublic Map<String,String> getEnv()
getEnv in interface net.thevpc.nuts.NInstallSvcCmdpublic net.thevpc.nuts.NInstallSvcCmd setEnv(Map<String,String> env)
setEnv in interface net.thevpc.nuts.NInstallSvcCmdpublic String[] getStartCommand()
getStartCommand in interface net.thevpc.nuts.NInstallSvcCmdpublic DefaultInstallSvcCommand setStartCommand(String[] startCommand)
setStartCommand in interface net.thevpc.nuts.NInstallSvcCmdpublic String[] getStopCommand()
getStopCommand in interface net.thevpc.nuts.NInstallSvcCmdpublic DefaultInstallSvcCommand setStopCommand(String[] stopCommand)
setStopCommand in interface net.thevpc.nuts.NInstallSvcCmdpublic String[] getStatusCommand()
getStatusCommand in interface net.thevpc.nuts.NInstallSvcCmdpublic DefaultInstallSvcCommand setStatusCommand(String[] statusCommand)
setStatusCommand in interface net.thevpc.nuts.NInstallSvcCmdpublic boolean uninstall()
uninstall in interface net.thevpc.nuts.NInstallSvcCmdpublic boolean install()
install in interface net.thevpc.nuts.NInstallSvcCmdpublic net.thevpc.nuts.NOsServiceType getActualServiceType()
public net.thevpc.nuts.NOsServiceType getSystemServiceType()
getSystemServiceType in interface net.thevpc.nuts.NInstallSvcCmdpublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentpublic boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurableCopyright © 2025 vpc open source initiative. All rights reserved.