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 propagatearg0
during an advance in aPagedIterable
. For example, in the callapi.getUserApi().listPathPrefix("/users")
, the arg0 is the value"/users"
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Arg0ToPagedIterable.FromCaller<T,I extends Arg0ToPagedIterable.FromCaller<T,I>>
Used to propagate callerarg0
to a callee during an advance in aPagedIterable
.
-
Field Summary
-
Fields inherited from class org.jclouds.collect.internal.ArgsToPagedIterable
request
-
-
Constructor Summary
Constructors Constructor Description Arg0ToPagedIterable()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected 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, setContext
-
-
-
-
Method Detail
-
markerToNextForArgs
protected com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNextForArgs(List<Object> args)
- Specified by:
markerToNextForArgs
in 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
-
-