Package com.microsoft.graph.core.tasks
Enum Class PageIterator.PageIteratorState
java.lang.Object
java.lang.Enum<PageIterator.PageIteratorState>
com.microsoft.graph.core.tasks.PageIterator.PageIteratorState
- All Implemented Interfaces:
Serializable,Comparable<PageIterator.PageIteratorState>,Constable
- Enclosing class:
PageIterator<TEntity extends com.microsoft.kiota.serialization.Parsable,TCollectionPage extends com.microsoft.kiota.serialization.Parsable & com.microsoft.kiota.serialization.AdditionalDataHolder>
Enum to represent the possible states of the PageIterator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe PageIterator has completed iterating.A deltaToken was returned, the iterator is can be resumed.The PageIterator is currently iterating over paged requests.The PageIterator is currently iterating over the contents of a page.The PageIterator has not started iterating.The PageIterator is currently paused. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PageIterator.PageIteratorState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_STARTED
The PageIterator has not started iterating. -
PAUSED
The PageIterator is currently paused. A callback returned false. Iterator can be resumed. -
INTERPAGE_ITERATION
The PageIterator is currently iterating over paged requests. -
INTRAPAGE_ITERATION
The PageIterator is currently iterating over the contents of a page. -
DELTA
A deltaToken was returned, the iterator is can be resumed. -
COMPLETE
The PageIterator has completed iterating.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-