| Constructor and Description |
|---|
YammerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
YammerConfiguration |
copy()
Returns a copy of this configuration
|
String |
getAccessToken() |
String |
getConsumerKey() |
String |
getConsumerSecret() |
long |
getDelay() |
YammerFunctionType |
getFunction() |
int |
getLimit() |
long |
getNewerThan() |
long |
getOlderThan() |
ApiRequestor |
getRequestor() |
String |
getThreaded() |
String |
getUserId() |
boolean |
isUseJson() |
void |
setAccessToken(String accessToken)
The access token
|
void |
setConsumerKey(String consumerKey)
The consumer key
|
void |
setConsumerSecret(String consumerSecret)
The consumer secret
|
void |
setDelay(long delay)
Delay between polling in millis
|
void |
setFunction(YammerFunctionType function)
The function to use
|
void |
setLimit(int limit)
Return only the specified number of messages.
|
void |
setNewerThan(long newerThan)
Returns messages newer than the message ID specified as a numeric string.
|
void |
setOlderThan(long olderThan)
Returns messages older than the message ID specified as a numeric string.
|
void |
setRequestor(ApiRequestor requestor)
To use a specific requester to communicate with Yammer.
|
void |
setThreaded(String threaded)
threaded equals to true will only return the first message in each thread.
|
void |
setUseJson(boolean useJson)
Set to true if you want to use raw JSON rather than converting to POJOs.
|
void |
setUserId(String userId)
The user id
|
public YammerConfiguration copy()
public String getConsumerKey()
public void setConsumerKey(String consumerKey)
public String getConsumerSecret()
public void setConsumerSecret(String consumerSecret)
public long getDelay()
public void setDelay(long delay)
public String getAccessToken()
public void setAccessToken(String accessToken)
public YammerFunctionType getFunction()
public void setFunction(YammerFunctionType function)
public boolean isUseJson()
public void setUseJson(boolean useJson)
public int getLimit()
public void setLimit(int limit)
public long getOlderThan()
public void setOlderThan(long olderThan)
public long getNewerThan()
public void setNewerThan(long newerThan)
public String getThreaded()
public void setThreaded(String threaded)
public String getUserId()
public void setUserId(String userId)
public ApiRequestor getRequestor()
public void setRequestor(ApiRequestor requestor)
Apache Camel