Class AsanaProjectStatusAttachmentFetcher
java.lang.Object
org.apache.nifi.processors.asana.utils.AbstractAsanaObjectFetcher
org.apache.nifi.processors.asana.utils.GenericAsanaObjectFetcher<com.asana.models.Attachment>
org.apache.nifi.processors.asana.utils.AsanaProjectStatusAttachmentFetcher
- All Implemented Interfaces:
AsanaObjectFetcher
public class AsanaProjectStatusAttachmentFetcher
extends GenericAsanaObjectFetcher<com.asana.models.Attachment>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AsanaClientprivate final com.asana.models.Projectprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateObjectFingerprint(com.asana.models.Attachment object) protected Stream<com.asana.models.Attachment> private Stream<com.asana.models.Attachment> 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.GenericAsanaObjectFetcher
clearState, fetch, fetchNext, transformObjectToPayload
-
Field Details
-
PROJECT_GID
- See Also:
-
client
-
project
private final com.asana.models.Project project
-
-
Constructor Details
-
AsanaProjectStatusAttachmentFetcher
-
-
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.Attachment>- 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.Attachment>- Parameters:
state- AMapcontaining all the key-value pairs returned by a prior call tosaveState().
-
fetchObjects
- Specified by:
fetchObjectsin classGenericAsanaObjectFetcher<com.asana.models.Attachment>
-
createObjectFingerprint
- Overrides:
createObjectFingerprintin classGenericAsanaObjectFetcher<com.asana.models.Attachment>
-
fetchProjectStatusAttachments
-