Brooklyn

brooklyn.entity.proxy.nginx
[Java] Class NginxSshDriver

java.lang.Object
  brooklyn.entity.basic.AbstractSoftwareProcessDriver
      brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
          brooklyn.entity.proxy.nginx.NginxSshDriver
All Implemented Interfaces:
NginxDriver

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

customizationCompleted

protected boolean customizationCompleted


log

public static final Logger log


 
Constructor Detail

NginxSshDriver

public NginxSshDriver(NginxController entity, SshMachineLocation machine)


 
Method Detail

customize

@Override
public void customize()


getHttpPort

protected java.lang.Integer getHttpPort()


getLogFileLocation

protected java.lang.String getLogFileLocation()


install

@Override
public void install()


isCustomizationCompleted

public boolean isCustomizationCompleted()


isRunning

@Override
public boolean isRunning()


kill

@Override
public void kill()


launch

@Override
public void launch()


postLaunch

@Override
public void postLaunch()


reload

public void reload()


restart

@Override
public void restart()


stop

@Override
public void stop()


sudoIfPrivilegedPort

public static java.lang.String sudoIfPrivilegedPort(int port, java.lang.String command)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.