Package org.jclouds.chef.functions
Class ParseCookbookVersionsFromJson
- java.lang.Object
-
- org.jclouds.chef.functions.ParseCookbookVersionsFromJson
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,Set<String>>
,Function<HttpResponse,Set<String>>
@Singleton public class ParseCookbookVersionsFromJson extends Object implements com.google.common.base.Function<HttpResponse,Set<String>>
Parses the cookbook versions in a Chef Server >= 0.10.8.
-
-
Method Detail
-
apply
public Set<String> apply(HttpResponse response)
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,Set<String>>
- Specified by:
apply
in interfaceFunction<HttpResponse,Set<String>>
-
-