org.jclouds.chef.util
Class RunListBuilder

java.lang.Object
  extended by org.jclouds.chef.util.RunListBuilder

public class RunListBuilder
extends Object

builds a run list in the correct syntax for chef.


Constructor Summary
RunListBuilder()
           
 
Method Summary
 RunListBuilder addRecipe(String recipe)
          Add the following recipe to the run list
 RunListBuilder addRecipes(String... recipes)
          Add the following recipes to the run list
 RunListBuilder addRole(String role)
          Add the following role to the run list
 RunListBuilder addRoles(String... roles)
          Add the following roles to the run list
 List<String> build()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunListBuilder

public RunListBuilder()
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


build

public List<String> build()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.