public class DefaultInstallSvcCommand extends Object implements NInstallSvcCmd
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultInstallSvcCommand() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofconfigure, configure, configure, configureLastisValidScore, query, querypublic DefaultInstallSvcCommand setServiceType(NOsServiceType serviceType)
setServiceType in interface NInstallSvcCmdpublic NOsServiceType getServiceType()
public String getServiceName()
public NInstallSvcCmd setServiceName(String serviceName)
setServiceName in interface NInstallSvcCmdpublic NPath getRoot()
public NInstallSvcCmd setRootDirectory(NPath root)
setRootDirectory in interface NInstallSvcCmdpublic NPath getWorkingDirectory()
getWorkingDirectory in interface NInstallSvcCmdpublic NInstallSvcCmd setWorkingDirectory(NPath workingDirectory)
setWorkingDirectory in interface NInstallSvcCmdpublic boolean isVerbose()
public NInstallSvcCmd setVerbose(boolean verbose)
public NInstallSvcCmd setControlCommand(String[] startCommand)
setControlCommand in interface NInstallSvcCmdpublic Map<String,String> getEnv()
getEnv in interface NInstallSvcCmdpublic NInstallSvcCmd setEnv(Map<String,String> env)
setEnv in interface NInstallSvcCmdpublic String[] getStartCommand()
getStartCommand in interface NInstallSvcCmdpublic DefaultInstallSvcCommand setStartCommand(String[] startCommand)
setStartCommand in interface NInstallSvcCmdpublic String[] getStopCommand()
getStopCommand in interface NInstallSvcCmdpublic DefaultInstallSvcCommand setStopCommand(String[] stopCommand)
setStopCommand in interface NInstallSvcCmdpublic String[] getStatusCommand()
getStatusCommand in interface NInstallSvcCmdpublic DefaultInstallSvcCommand setStatusCommand(String[] statusCommand)
setStatusCommand in interface NInstallSvcCmdpublic boolean uninstall()
uninstall in interface NInstallSvcCmdpublic boolean install()
install in interface NInstallSvcCmdpublic NOsServiceType getActualServiceType()
public NOsServiceType getSystemServiceType()
getSystemServiceType in interface NInstallSvcCmdpublic int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorablepublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurableCopyright © 2025 vpc open source initiative. All rights reserved.