public abstract class AbstractAsanaObjectFetcher extends Object implements AsanaObjectFetcher
| Modifier and Type | Field and Description |
|---|---|
private Iterator<AsanaObject> |
pending |
| Constructor and Description |
|---|
AbstractAsanaObjectFetcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearState()
Call this method to wipe out all the state information of this object fetcher.
|
protected abstract Iterator<AsanaObject> |
fetch() |
AsanaObject |
fetchNext()
Call this method to retrieve the next unprocessed object from Asana.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadState, saveStateprivate Iterator<AsanaObject> pending
public AsanaObject fetchNext()
AsanaObjectFetcherAsanaObject contains
the object in Json formatted string, and information about its ID and whether it is new, updated, or removed.fetchNext in interface AsanaObjectFetcherAsanaObject otherwise.public void clearState()
AsanaObjectFetcherclearState in interface AsanaObjectFetcherprotected abstract Iterator<AsanaObject> fetch()
Copyright © 2024 Apache NiFi Project. All rights reserved.