Class AsanaProjectEventFetcher
java.lang.Object
org.apache.nifi.processors.asana.utils.AbstractAsanaObjectFetcher
org.apache.nifi.processors.asana.utils.AsanaProjectEventFetcher
- All Implemented Interfaces:
AsanaObjectFetcher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AsanaClientprivate static final Stringprivate Stringprivate final com.asana.models.Projectprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCall this method to wipe out all the state information of this object fetcher.protected Iterator<AsanaObject> fetch()voidCall this method to deserialize invalid input: '&' restore a state that was saved/exported earlier.Call this method to serialize this object fetcher's state.Methods inherited from class org.apache.nifi.processors.asana.utils.AbstractAsanaObjectFetcher
fetchNext
-
Field Details
-
PROJECT_GID
- See Also:
-
NEXT_SYNC_TOKEN
- See Also:
-
client
-
project
private final com.asana.models.Project project -
nextSyncToken
-
-
Constructor Details
-
AsanaProjectEventFetcher
-
-
Method Details
-
saveState
Description copied from interface:AsanaObjectFetcherCall this method to serialize this object fetcher's state.- Returns:
- A
Mapcontaining the object state in key-value pairs. Optimized for using it withStateManager
-
loadState
Description copied from interface:AsanaObjectFetcherCall this method to deserialize invalid input: '&' restore a state that was saved/exported earlier.- Parameters:
state- AMapcontaining all the key-value pairs returned by a prior call tosaveState().
-
clearState
public void clearState()Description copied from interface:AsanaObjectFetcherCall this method to wipe out all the state information of this object fetcher. As if it was brand-new.- Specified by:
clearStatein interfaceAsanaObjectFetcher- Overrides:
clearStatein classAbstractAsanaObjectFetcher
-
fetch
- Specified by:
fetchin classAbstractAsanaObjectFetcher
-