org.jclouds.chef.functions
Class ParseCookbookDefinitionFromJson

java.lang.Object
  extended by org.jclouds.chef.functions.ParseCookbookDefinitionFromJson
All Implemented Interfaces:
com.google.common.base.Function<org.jclouds.http.HttpResponse,Set<String>>

@Singleton
public class ParseCookbookDefinitionFromJson
extends Object
implements com.google.common.base.Function<org.jclouds.http.HttpResponse,Set<String>>

Parses a cookbook definition from a Json response, assuming a Chef Server >= 0.10.8.


Method Summary
 Set<String> apply(org.jclouds.http.HttpResponse response)
           
 
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
 

Method Detail

apply

public Set<String> apply(org.jclouds.http.HttpResponse response)
Specified by:
apply in interface com.google.common.base.Function<org.jclouds.http.HttpResponse,Set<String>>


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