public class TwitterEventPoller extends Object implements EventPoller
| Constructor and Description |
|---|
TwitterEventPoller(String eventType) |
| Modifier and Type | Method and Description |
|---|---|
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<org.rhq.core.domain.event.Event> |
poll()
Return collected events
|
public TwitterEventPoller(String eventType)
public String getEventType()
getEventType in interface EventPollerEventPoller.getEventType()public Set<org.rhq.core.domain.event.Event> poll()
poll in interface EventPollerEventPoller.poll()public void addStatuses(List<twitter4j.Status> statuses)
statuses - public void addTweets(List<twitter4j.Tweet> tweets)
tweets - Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.