Class AsanaStoryFetcher
java.lang.Object
org.apache.nifi.processors.asana.utils.AbstractAsanaObjectFetcher
org.apache.nifi.processors.asana.utils.GenericAsanaObjectFetcher<com.asana.models.Story>
org.apache.nifi.processors.asana.utils.AsanaStoryFetcher
- All Implemented Interfaces:
AsanaObjectFetcher
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAsanaStoryFetcher(AsanaClient client, String projectName, String sectionName, String tagName) -
Method Summary
Methods inherited from class org.apache.nifi.processors.asana.utils.GenericAsanaObjectFetcher
clearState, createObjectFingerprint, fetch, fetchNext, transformObjectToPayload
-
Field Details
-
client
-
taskFetcher
-
-
Constructor Details
-
AsanaStoryFetcher
public AsanaStoryFetcher(AsanaClient client, String projectName, String sectionName, String tagName)
-
-
Method Details
-
saveState
Description copied from interface:AsanaObjectFetcherCall this method to serialize this object fetcher's state.- Specified by:
saveStatein interfaceAsanaObjectFetcher- Overrides:
saveStatein classGenericAsanaObjectFetcher<com.asana.models.Story>- 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.- Specified by:
loadStatein interfaceAsanaObjectFetcher- Overrides:
loadStatein classGenericAsanaObjectFetcher<com.asana.models.Story>- Parameters:
state- AMapcontaining all the key-value pairs returned by a prior call tosaveState().
-
fetchObjects
- Specified by:
fetchObjectsin classGenericAsanaObjectFetcher<com.asana.models.Story>
-
fetchStories
-