Brooklyn

brooklyn.entity.chef
[Java] Class ChefConfigs

java.lang.Object
  brooklyn.entity.chef.ChefConfigs

@Beta
public class ChefConfigs

Conveniences for configuring brooklyn Chef entities

Since:
0.6.0


Method Summary
static void addLaunchAttributes(EntitySpec entity, java.util.Map attributesMap)

static void addLaunchAttributes(EntityInternal entity, java.util.Map attributesMap)

static void addToCookbooksFromGithub(EntitySpec entity, java.lang.String... cookbookNames)

static void addToCookbooksFromGithub(EntityInternal entity, java.lang.String... cookbookNames)

static void addToCookbooksFromGithub(EntitySpec entity, java.lang.String cookbookName, java.lang.String cookbookUrl)

static void addToCookbooksFromGithub(EntityInternal entity, java.lang.String cookbookName, java.lang.String cookbookUrl)

static void addToRunList(EntitySpec entity, java.lang.String... recipes)

static void addToRunList(EntityInternal entity, java.lang.String... recipes)

static java.lang.String getGithubOpscodeRepo(java.lang.String cookbookName)

static java.lang.Object getRequiredConfig(Entity entity, ConfigKey key)

static void setLaunchAttribute(EntitySpec entity, java.lang.String rootAttribute, java.lang.Object value)

replaces the attributes underneath the rootAttribute parameter with the given value; see addLaunchAttributesMap(EntitySpec, Map) for richer functionality

static void setLaunchAttribute(EntityInternal entity, java.lang.String rootAttribute, java.lang.Object value)

replaces the attributes underneath the rootAttribute parameter with the given value; see addLaunchAttributesMap(EntitySpec, Map) for richer functionality

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

addLaunchAttributes

@SuppressWarnings({ "unchecked", "rawtypes" })
public static void addLaunchAttributes(EntitySpec entity, java.util.Map attributesMap)


addLaunchAttributes

@SuppressWarnings({ "unchecked", "rawtypes" })
public static void addLaunchAttributes(EntityInternal entity, java.util.Map attributesMap)


addToCookbooksFromGithub

public static void addToCookbooksFromGithub(EntitySpec entity, java.lang.String... cookbookNames)


addToCookbooksFromGithub

public static void addToCookbooksFromGithub(EntityInternal entity, java.lang.String... cookbookNames)


addToCookbooksFromGithub

public static void addToCookbooksFromGithub(EntitySpec entity, java.lang.String cookbookName, java.lang.String cookbookUrl)


addToCookbooksFromGithub

public static void addToCookbooksFromGithub(EntityInternal entity, java.lang.String cookbookName, java.lang.String cookbookUrl)


addToRunList

public static void addToRunList(EntitySpec entity, java.lang.String... recipes)


addToRunList

public static void addToRunList(EntityInternal entity, java.lang.String... recipes)


getGithubOpscodeRepo

public static java.lang.String getGithubOpscodeRepo(java.lang.String cookbookName)


getRequiredConfig

public static java.lang.Object getRequiredConfig(Entity entity, ConfigKey key)


setLaunchAttribute

public static void setLaunchAttribute(EntitySpec entity, java.lang.String rootAttribute, java.lang.Object value)
replaces the attributes underneath the rootAttribute parameter with the given value; see addLaunchAttributesMap(EntitySpec, Map) for richer functionality


setLaunchAttribute

public static void setLaunchAttribute(EntityInternal entity, java.lang.String rootAttribute, java.lang.Object value)
replaces the attributes underneath the rootAttribute parameter with the given value; see addLaunchAttributesMap(EntitySpec, Map) for richer functionality


 

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