|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.entity.basic.AbstractSoftwareProcessDriver
brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
brooklyn.entity.proxy.nginx.NginxSshDriver
public class NginxSshDriver extends AbstractSoftwareProcessSshDriver
Start a NginxController in a Location accessible over ssh.
Field Summary | |
---|---|
protected boolean |
customizationCompleted
|
static Logger |
log
|
Fields inherited from class AbstractSoftwareProcessSshDriver | |
---|---|
BROOKLYN_HOME_DIR, CHECK_RUNNING, CUSTOMIZING, DEFAULT_INSTALL_BASEDIR, DEFAULT_RUN_BASEDIR, INSTALLING, KILLING, LAUNCHING, NO_VERSION_INFO, PID_FILENAME, RESTARTING, STOPPING, log, logSsh |
Fields inherited from class AbstractSoftwareProcessDriver | |
---|---|
entity |
Constructor Summary | |
NginxSshDriver(NginxController entity, SshMachineLocation machine)
|
Method Summary | |
---|---|
void
|
customize()
|
protected java.lang.Integer
|
getHttpPort()
|
protected java.lang.String
|
getLogFileLocation()
|
void
|
install()
|
boolean
|
isCustomizationCompleted()
|
boolean
|
isRunning()
|
void
|
kill()
|
void
|
launch()
|
void
|
postLaunch()
|
void
|
reload()
|
void
|
restart()
|
void
|
stop()
|
static java.lang.String
|
sudoIfPrivilegedPort(int port, java.lang.String command)
|
Methods inherited from class AbstractSoftwareProcessSshDriver | |
---|---|
copyFile, copyFile, execute, execute, getDefaultVersion, getEntityVersionLabel, getEntityVersionLabel, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getVersion, newScript, newScript |
Methods inherited from class AbstractSoftwareProcessDriver | |
---|---|
customize, getEntity, getLocation, getResource, install, kill, launch, postLaunch, restart, start, stop, waitForConfigKey |
Field Detail |
---|
protected boolean customizationCompleted
public static final Logger log
Constructor Detail |
---|
public NginxSshDriver(NginxController entity, SshMachineLocation machine)
Method Detail |
---|
@Override public void customize()
protected java.lang.Integer getHttpPort()
protected java.lang.String getLogFileLocation()
@Override public void install()
public boolean isCustomizationCompleted()
@Override public boolean isRunning()
@Override public void kill()
@Override public void launch()
@Override public void postLaunch()
public void reload()
@Override public void restart()
@Override public void stop()
public static java.lang.String sudoIfPrivilegedPort(int port, java.lang.String command)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.