org.jclouds.cloudstack.functions
Class ParseAsyncJobsFromHttpResponse

java.lang.Object
  extended by org.jclouds.cloudstack.functions.ParseAsyncJobsFromHttpResponse
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,Set<AsyncJob<?>>>

@Singleton
public class ParseAsyncJobsFromHttpResponse
extends Object
implements com.google.common.base.Function<HttpResponse,Set<AsyncJob<?>>>

Author:
Adrian Cole

Constructor Summary
ParseAsyncJobsFromHttpResponse(ParseTypedAsyncJob parseTyped, GsonWrapper gsonWrapper)
           
 
Method Summary
 Set<AsyncJob<?>> apply(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
 

Constructor Detail

ParseAsyncJobsFromHttpResponse

@Inject
public ParseAsyncJobsFromHttpResponse(ParseTypedAsyncJob parseTyped,
                                             GsonWrapper gsonWrapper)
Method Detail

apply

public Set<AsyncJob<?>> apply(HttpResponse response)
Specified by:
apply in interface com.google.common.base.Function<HttpResponse,Set<AsyncJob<?>>>


Copyright © 2009-2012 jclouds. All Rights Reserved.