Package org.jclouds.collect.internal
Class Arg0ToPagedIterable<T,I extends Arg0ToPagedIterable<T,I>>
java.lang.Object
org.jclouds.collect.internal.ArgsToPagedIterable<T,I>
org.jclouds.collect.internal.Arg0ToPagedIterable<T,I>
- All Implemented Interfaces:
com.google.common.base.Function<IterableWithMarker<T>,,PagedIterable<T>> Function<IterableWithMarker<T>,,PagedIterable<T>> InvocationContext<I>
- Direct Known Subclasses:
Arg0ToPagedIterable.FromCaller,BaseToPagedIterable,BaseToPagedIterable,DomainsToPagedIterable,SubdomainsToPagedIterable
@Beta
public abstract class Arg0ToPagedIterable<T,I extends Arg0ToPagedIterable<T,I>>
extends ArgsToPagedIterable<T,I>
Used to propagate
. For example, in the call
arg0 during an advance in a
invalid reference
PagedIterable
api.getUserApi().listPathPrefix("/users"), the arg0 is the value "/users".-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed to propagate callerarg0to a callee during an advance in a.invalid reference
PagedIterable -
Field Summary
Fields inherited from class org.jclouds.collect.internal.ArgsToPagedIterable
request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.google.common.base.Function<Object, IterableWithMarker<T>> markerToNextForArg0(com.google.common.base.Optional<Object> arg0) protected com.google.common.base.Function<Object, IterableWithMarker<T>> markerToNextForArgs(List<Object> args) Methods inherited from class org.jclouds.collect.internal.ArgsToPagedIterable
apply, getArgs, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
Arg0ToPagedIterable
public Arg0ToPagedIterable()
-
-
Method Details
-
markerToNextForArgs
protected com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNextForArgs(List<Object> args) - Specified by:
markerToNextForArgsin classArgsToPagedIterable<T,I extends Arg0ToPagedIterable<T, I>>
-
markerToNextForArg0
protected abstract com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNextForArg0(com.google.common.base.Optional<Object> arg0) - Parameters:
arg0- present when there was an arg0
-