Package org.jclouds.chef.functions
Class ParseCookbookDefinitionFromJson
- java.lang.Object
-
- org.jclouds.chef.functions.ParseCookbookDefinitionFromJson
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,CookbookDefinition>
,Function<HttpResponse,CookbookDefinition>
@Singleton public class ParseCookbookDefinitionFromJson extends Object implements com.google.common.base.Function<HttpResponse,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 CookbookDefinition
apply(HttpResponse response)
-
-
-
Method Detail
-
apply
public CookbookDefinition apply(HttpResponse response)
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,CookbookDefinition>
- Specified by:
apply
in interfaceFunction<HttpResponse,CookbookDefinition>
-
-