@UriParams public class YammerConfiguration extends Object
Constructor and Description |
---|
YammerConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
String |
getConsumerKey() |
String |
getConsumerSecret() |
long |
getDelay() |
String |
getFunction() |
YammerFunctionType |
getFunctionType() |
int |
getLimit() |
int |
getNewerThan() |
int |
getOlderThan() |
ApiRequestor |
getRequestor(String apiUrl) |
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(String function)
The function to use
|
void |
setFunctionType(YammerFunctionType functionType)
The function to use
|
void |
setLimit(int limit)
Return only the specified number of messages.
|
void |
setNewerThan(int newerThan)
Returns messages newer than the message ID specified as a numeric string.
|
void |
setOlderThan(int olderThan)
Returns messages older than the message ID specified as a numeric string.
|
void |
setRequestor(ApiRequestor requestor) |
void |
setThreaded(String threaded)
threaded=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 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 getFunctionType()
public void setFunctionType(YammerFunctionType functionType)
public String getFunction()
public void setFunction(String function)
public boolean isUseJson()
public void setUseJson(boolean useJson)
public ApiRequestor getRequestor(String apiUrl) throws Exception
Exception
public void setRequestor(ApiRequestor requestor)
public int getLimit()
public void setLimit(int limit)
public int getOlderThan()
public void setOlderThan(int olderThan)
public int getNewerThan()
public void setNewerThan(int newerThan)
public String getThreaded()
public void setThreaded(String threaded)
public String getUserId()
public void setUserId(String userId)
Apache Camel