org.jclouds.chef.functions
Class BootstrapConfigForGroup

java.lang.Object
  extended by org.jclouds.chef.functions.BootstrapConfigForGroup
All Implemented Interfaces:
com.google.common.base.Function<String,DatabagItem>

@Singleton
public class BootstrapConfigForGroup
extends Object
implements com.google.common.base.Function<String,DatabagItem>

Retrieves the bootstrap configuration for a specific group


Field Summary
static Type BOOTSTRAP_CONFIG_TYPE
           
 
Constructor Summary
BootstrapConfigForGroup(String databag, ChefApi api)
           
 
Method Summary
 DatabagItem apply(String from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

BOOTSTRAP_CONFIG_TYPE

public static final Type BOOTSTRAP_CONFIG_TYPE
Constructor Detail

BootstrapConfigForGroup

@Inject
public BootstrapConfigForGroup(@Named(value="chef.bootstrap-databag")
                                      String databag,
                                      ChefApi api)
Method Detail

apply

public DatabagItem apply(String from)
Specified by:
apply in interface com.google.common.base.Function<String,DatabagItem>


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