Brooklyn

brooklyn.entity.chef
[Java] Class ChefSoloDriver

java.lang.Object
  brooklyn.entity.basic.AbstractSoftwareProcessDriver
      brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
          brooklyn.entity.chef.ChefSoloDriver
All Implemented Interfaces:
ChefConfig

@Beta
public class ChefSoloDriver
extends AbstractSoftwareProcessSshDriver

Driver class to facilitate use of Chef


Field Summary
static ConfigKey IS_RUNNING_TASK

static ConfigKey STOP_TASK

 
Fields inherited from class AbstractSoftwareProcessSshDriver
BROOKLYN_HOME_DIR, CHECK_RUNNING, CUSTOMIZING, DEFAULT_INSTALL_BASEDIR, DEFAULT_RUN_BASEDIR, IGNORE_ENTITY_SSH_FLAGS, INSTALLING, KILLING, LAUNCHING, NO_VERSION_INFO, PID_FILENAME, RESTARTING, STOPPING, USE_PID_FILE, log, logSsh
 
Fields inherited from class AbstractSoftwareProcessDriver
entity, location, resource
 
Constructor Summary
ChefSoloDriver(EntityLocal entity, SshMachineLocation location)

 
Method Summary
void customize()

protected java.lang.Object getRequiredConfig(ConfigKey key)

void install()

boolean isRunning()

void launch()

void stop()

 
Methods inherited from class AbstractSoftwareProcessSshDriver
copyFile, copyFile, copyFile, copyResource, copyResource, copyResource, copyResources, copyTemplate, copyTemplate, copyTemplate, copyTemplates, execute, execute, getAddress, getDefaultVersion, getDownloadFileSuffix, getDownloadFilename, getEntityVersionLabel, getEntityVersionLabel, getHostname, getInstallDir, getLocation, getMachine, getPortsUsed, getRunDir, getShellEnvironment, getSshFlags, getVersion, newScript, newScript
 
Methods inherited from class AbstractSoftwareProcessDriver
customize, doFullStartOnRestart, getEntity, getLocation, getResource, getResourceAsString, install, kill, launch, postLaunch, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, start, stop, waitForConfigKey
 

Field Detail

IS_RUNNING_TASK

@SuppressWarnings("serial")
public static final ConfigKey IS_RUNNING_TASK


STOP_TASK

@SuppressWarnings("serial")
public static final ConfigKey STOP_TASK


 
Constructor Detail

ChefSoloDriver

public ChefSoloDriver(EntityLocal entity, SshMachineLocation location)


 
Method Detail

customize

public void customize() {
public void customize()


getRequiredConfig

protected java.lang.Object getRequiredConfig(ConfigKey key)


install

@Override
public void install()


isRunning

public boolean isRunning() {
public boolean isRunning()


launch

public void launch() {
public void launch()


stop

public void stop() {
public void stop()


 

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