public class DefaultInstallSvcCommand extends Object implements NInstallSvcCmd
| Constructor and Description |
|---|
DefaultInstallSvcCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configureFirst(NCmdLine cmdLine) |
NInstallSvcCmd |
controlCommand(String[] startCommand) |
Map<String,String> |
env() |
NInstallSvcCmd |
env(Map<String,String> env) |
NOsServiceType |
getActualServiceType() |
NPath |
getRoot() |
String |
getServiceName() |
NOsServiceType |
getServiceType() |
boolean |
install() |
boolean |
isVerbose() |
NInstallSvcCmd |
rootDirectory(NPath root) |
NInstallSvcCmd |
serviceName(String serviceName) |
DefaultInstallSvcCommand |
serviceType(NOsServiceType serviceType) |
NInstallSvcCmd |
setVerbose(boolean verbose) |
String[] |
startCommand() |
DefaultInstallSvcCommand |
startCommand(String[] startCommand) |
String[] |
statusCommand() |
DefaultInstallSvcCommand |
statusCommand(String[] statusCommand) |
String[] |
stopCommand() |
DefaultInstallSvcCommand |
stopCommand(String[] stopCommand) |
NOsServiceType |
systemServiceType() |
boolean |
uninstall() |
NPath |
workingDirectory() |
NInstallSvcCmd |
workingDirectory(NPath workingDirectory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofconfigure, configure, configure, configureLastpublic DefaultInstallSvcCommand serviceType(NOsServiceType serviceType)
serviceType in interface NInstallSvcCmdpublic NOsServiceType getServiceType()
public String getServiceName()
public NInstallSvcCmd serviceName(String serviceName)
serviceName in interface NInstallSvcCmdpublic NPath getRoot()
public NInstallSvcCmd rootDirectory(NPath root)
rootDirectory in interface NInstallSvcCmdpublic NPath workingDirectory()
workingDirectory in interface NInstallSvcCmdpublic NInstallSvcCmd workingDirectory(NPath workingDirectory)
workingDirectory in interface NInstallSvcCmdpublic boolean isVerbose()
public NInstallSvcCmd setVerbose(boolean verbose)
public NInstallSvcCmd controlCommand(String[] startCommand)
controlCommand in interface NInstallSvcCmdpublic Map<String,String> env()
env in interface NInstallSvcCmdpublic NInstallSvcCmd env(Map<String,String> env)
env in interface NInstallSvcCmdpublic String[] startCommand()
startCommand in interface NInstallSvcCmdpublic DefaultInstallSvcCommand startCommand(String[] startCommand)
startCommand in interface NInstallSvcCmdpublic String[] stopCommand()
stopCommand in interface NInstallSvcCmdpublic DefaultInstallSvcCommand stopCommand(String[] stopCommand)
stopCommand in interface NInstallSvcCmdpublic String[] statusCommand()
statusCommand in interface NInstallSvcCmdpublic DefaultInstallSvcCommand statusCommand(String[] statusCommand)
statusCommand in interface NInstallSvcCmdpublic boolean uninstall()
uninstall in interface NInstallSvcCmdpublic boolean install()
install in interface NInstallSvcCmdpublic NOsServiceType getActualServiceType()
public NOsServiceType systemServiceType()
systemServiceType in interface NInstallSvcCmdpublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurableCopyright © 2026 vpc open source initiative. All rights reserved.