org.jclouds.googlecomputeengine.functions.internal
Class BaseWithZoneToPagedIterable<T,I extends BaseWithZoneToPagedIterable<T,I>>

java.lang.Object
  extended by org.jclouds.googlecomputeengine.functions.internal.BaseWithZoneToPagedIterable<T,I>
All Implemented Interfaces:
com.google.common.base.Function<ListPage<T>,org.jclouds.collect.PagedIterable<T>>, org.jclouds.rest.InvocationContext<I>
Direct Known Subclasses:
ParseDisks.ToPagedIterable, ParseInstances.ToPagedIterable, ParseMachineTypes.ToPagedIterable, ParseZoneOperations.ToPagedIterable

@Beta
public abstract class BaseWithZoneToPagedIterable<T,I extends BaseWithZoneToPagedIterable<T,I>>
extends Object
implements com.google.common.base.Function<ListPage<T>,org.jclouds.collect.PagedIterable<T>>, org.jclouds.rest.InvocationContext<I>

Author:
Adrian Cole, Andrew Bayer

Constructor Summary
BaseWithZoneToPagedIterable()
           
 
Method Summary
 org.jclouds.collect.PagedIterable<T> apply(ListPage<T> input)
           
protected abstract  com.google.common.base.Function<Object,org.jclouds.collect.IterableWithMarker<T>> fetchNextPage(String projectName, String zoneName, ListOptions listOptions)
           
 I setContext(org.jclouds.http.HttpRequest request)
           
 
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

BaseWithZoneToPagedIterable

public BaseWithZoneToPagedIterable()
Method Detail

apply

public org.jclouds.collect.PagedIterable<T> apply(ListPage<T> input)
Specified by:
apply in interface com.google.common.base.Function<ListPage<T>,org.jclouds.collect.PagedIterable<T>>

fetchNextPage

protected abstract com.google.common.base.Function<Object,org.jclouds.collect.IterableWithMarker<T>> fetchNextPage(String projectName,
                                                                                                                   String zoneName,
                                                                                                                   ListOptions listOptions)

setContext

public I setContext(org.jclouds.http.HttpRequest request)
Specified by:
setContext in interface org.jclouds.rest.InvocationContext<I extends BaseWithZoneToPagedIterable<T,I>>


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