public class ChefConfigs
extends java.lang.Object
Constructor and Description |
---|
ChefConfigs() |
Modifier and Type | Method and Description |
---|---|
static void |
addLaunchAttributes(EntityInternal entity,
java.util.Map<? extends java.lang.Object,? extends java.lang.Object> attributesMap) |
static void |
addLaunchAttributes(EntitySpec<?> entity,
java.util.Map<? extends java.lang.Object,? extends java.lang.Object> attributesMap) |
static void |
addToCookbooksFromGithub(EntityInternal entity,
java.lang.String... cookbookNames) |
static void |
addToCookbooksFromGithub(EntityInternal entity,
java.lang.String cookbookName,
java.lang.String cookbookUrl) |
static void |
addToCookbooksFromGithub(EntitySpec<?> entity,
java.lang.String... cookbookNames) |
static void |
addToCookbooksFromGithub(EntitySpec<?> entity,
java.lang.String cookbookName,
java.lang.String cookbookUrl) |
static void |
addToLaunchRunList(EntityInternal entity,
java.lang.String... recipes) |
static void |
addToLaunchRunList(EntitySpec<?> entity,
java.lang.String... recipes) |
static java.lang.String |
getGithubOpscodeRepo(java.lang.String cookbookName) |
static java.lang.String |
getGithubOpscodeRepo(java.lang.String cookbookName,
java.lang.String tag) |
static <T> T |
getRequiredConfig(Entity entity,
ConfigKey<T> key) |
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 |
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 |
public static void addToLaunchRunList(EntitySpec<?> entity, java.lang.String... recipes)
public static void addToLaunchRunList(EntityInternal entity, java.lang.String... recipes)
public static void addToCookbooksFromGithub(EntitySpec<?> entity, java.lang.String... cookbookNames)
public static void addToCookbooksFromGithub(EntityInternal entity, java.lang.String... cookbookNames)
public static java.lang.String getGithubOpscodeRepo(java.lang.String cookbookName)
public static java.lang.String getGithubOpscodeRepo(java.lang.String cookbookName, java.lang.String tag)
public static void addToCookbooksFromGithub(EntitySpec<?> entity, java.lang.String cookbookName, java.lang.String cookbookUrl)
public static void addToCookbooksFromGithub(EntityInternal entity, java.lang.String cookbookName, java.lang.String cookbookUrl)
public static void addLaunchAttributes(EntitySpec<?> entity, java.util.Map<? extends java.lang.Object,? extends java.lang.Object> attributesMap)
public static void addLaunchAttributes(EntityInternal entity, java.util.Map<? extends java.lang.Object,? extends java.lang.Object> attributesMap)
public static void setLaunchAttribute(EntitySpec<?> entity, java.lang.String rootAttribute, java.lang.Object value)
#addLaunchAttributesMap(EntitySpec, Map)
for richer functionalitypublic static void setLaunchAttribute(EntityInternal entity, java.lang.String rootAttribute, java.lang.Object value)
#addLaunchAttributesMap(EntitySpec, Map)
for richer functionality