Package org.jclouds.chef.util
Class RunListBuilder
- java.lang.Object
-
- org.jclouds.chef.util.RunListBuilder
-
public class RunListBuilder extends Object
builds a run list in the correct syntax for chef.
-
-
Constructor Summary
Constructors Constructor Description RunListBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunListBuilderaddRecipe(String recipe)Add the following recipe to the run listRunListBuilderaddRecipes(String... recipes)Add the following recipes to the run listRunListBuilderaddRole(String role)Add the following role to the run listRunListBuilderaddRoles(String... roles)Add the following roles to the run listList<String>build()
-
-
-
Method Detail
-
addRecipe
public RunListBuilder addRecipe(String recipe)
Add the following recipe to the run list
-
addRecipes
public RunListBuilder addRecipes(String... recipes)
Add the following recipes to the run list
-
addRole
public RunListBuilder addRole(String role)
Add the following role to the run list
-
addRoles
public RunListBuilder addRoles(String... roles)
Add the following roles to the run list
-
-