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