|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rhq.plugins.twitter.TwitterEventPoller
public class TwitterEventPoller
Poller class to feed Twitter Status information into the Event subsystem.
| Constructor Summary | |
|---|---|
TwitterEventPoller(String eventType)
|
|
| Method Summary | |
|---|---|
void |
addStatuses(List<twitter4j.Status> statuses)
Add statuses to the list of events to return |
void |
addTweets(List<twitter4j.Tweet> tweets)
Add tweets to the list of events to return |
String |
getEventType()
Return the type of events we handle |
Set<Event> |
poll()
Return collected events |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TwitterEventPoller(String eventType)
| Method Detail |
|---|
public String getEventType()
getEventType in interface EventPollerEventPoller.getEventType()public Set<Event> poll()
poll in interface EventPollerEventPoller.poll()public void addStatuses(List<twitter4j.Status> statuses)
statuses - public void addTweets(List<twitter4j.Tweet> tweets)
tweets -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||