public class AsanaTeamMemberFetcher extends GenericAsanaObjectFetcher<com.asana.models.User>
| Modifier and Type | Field and Description |
|---|---|
private AsanaClient |
client |
private com.asana.models.Team |
team |
private static String |
TEAM_GID |
| Constructor and Description |
|---|
AsanaTeamMemberFetcher(AsanaClient client,
String teamName) |
| Modifier and Type | Method and Description |
|---|---|
protected Stream<com.asana.models.User> |
fetchObjects() |
void |
loadState(Map<String,String> state)
Call this method to deserialize & restore a state that was saved/exported earlier.
|
Map<String,String> |
saveState()
Call this method to serialize this object fetcher's state.
|
clearState, createObjectFingerprint, fetch, fetchNext, transformObjectToPayloadprivate static final String TEAM_GID
private final AsanaClient client
private final com.asana.models.Team team
public AsanaTeamMemberFetcher(AsanaClient client, String teamName)
public Map<String,String> saveState()
AsanaObjectFetchersaveState in interface AsanaObjectFetchersaveState in class GenericAsanaObjectFetcher<com.asana.models.User>Map containing the object state in key-value pairs. Optimized for using it with
StateManagerpublic void loadState(Map<String,String> state)
AsanaObjectFetcherloadState in interface AsanaObjectFetcherloadState in class GenericAsanaObjectFetcher<com.asana.models.User>state - A Map containing all the key-value pairs returned by a prior call to saveState().protected Stream<com.asana.models.User> fetchObjects()
fetchObjects in class GenericAsanaObjectFetcher<com.asana.models.User>Copyright © 2024 Apache NiFi Project. All rights reserved.