|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TwitterAction
TwitterAction that supports OAuth protected resources inside a Flux job.
| Nested Class Summary | |
|---|---|
static class |
TwitterAction.TwitterActionResult
The response from the Twitter resource. |
| Method Summary | |
|---|---|
void |
setConsumerKey(String apiKey)
Sets Twitter Application consumer key. |
void |
setConsumerSecret(String apiSecret)
Sets Twitter Application consumer secret. |
void |
setCount(int count)
Sets the number of records to retrieve. |
void |
setOAuthEnabled(boolean oAuthEnabled)
Sets OAuth for protected resources. |
void |
setPage(int page)
Sets the page of results to retrieve. |
void |
setParameters(Properties parameters)
Sets the body parameters. |
void |
setPassword(String password)
Sets the password of the consumer. |
void |
setRequestMethod(RestActionType actionType)
Sets the HTTP action used to access resources. |
void |
setResourceUrl(String url)
Sets the resource URL. |
void |
setSearchQuery(String searchQuery)
Sets the search query. |
void |
setUsername(String username)
Sets the username of the consumer. |
| Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
|---|
getRuntimeDataMap, setRuntimeDataMap |
| Method Detail |
|---|
void setRequestMethod(RestActionType actionType)
actionType - HTTP Verb used to access resources.void setConsumerKey(String apiKey)
apiKey - OAuth consumer key.void setCount(int count)
count - the number of records to retrieve.void setConsumerSecret(String apiSecret)
apiSecret - OAuth consumer secret.void setOAuthEnabled(boolean oAuthEnabled)
oAuthEnabled - OAuth for protected resources.void setPage(int page)
page - the page of results to retrieve.void setParameters(Properties parameters)
parameters - Body parameters.void setPassword(String password)
password - Password of the consumer.void setResourceUrl(String url)
url - resource URL.void setSearchQuery(String searchQuery)
searchQuery - Search query.void setUsername(String username)
username - Username of the consumer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||