Class RemoteTomcatConfigService
java.lang.Object
net.thevpc.nuts.toolbox.ntomcat.remote.RemoteTomcatServiceBase
net.thevpc.nuts.toolbox.ntomcat.remote.RemoteTomcatConfigService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemoteTomcatConfigService(String name, RemoteTomcat client) RemoteTomcatConfigService(NPath file, RemoteTomcat client) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidexecRemoteNuts(String... cmd) booleangetAppOrCreate(String appName) getAppOrError(String appName) getAppOrNull(String appName) getApps()getName()print(NPrintStream out) voidremove()voidsave()setConfig(RemoteTomcatConfig config) voidshutdown()voidMethods inherited from class net.thevpc.nuts.toolbox.ntomcat.remote.RemoteTomcatServiceBase
println
-
Field Details
-
REMOTE_CONFIG_EXT
- See Also:
-
-
Constructor Details
-
RemoteTomcatConfigService
-
RemoteTomcatConfigService
-
-
Method Details
-
getConfig
- Specified by:
getConfigin classRemoteTomcatServiceBase
-
getName
- Specified by:
getNamein classRemoteTomcatServiceBase
-
setName
-
print
- Specified by:
printin classRemoteTomcatServiceBase
-
remove
- Specified by:
removein classRemoteTomcatServiceBase
-
setConfig
-
getConfigPath
-
save
-
existsConfig
public boolean existsConfig() -
printStatus
public void printStatus() -
start
-
shutdown
public void shutdown() -
getRemoteInstanceName
-
restart
-
loadConfig
-
getApp
-
getAppOrNull
-
getAppOrError
-
getAppOrCreate
-
deleteOutLog
public void deleteOutLog() -
getApps
-
execRemoteNuts
-