@ApplicationScoped public class FakeSocialTimelineRulesQuery extends Object implements SocialTimelineRulesQueryAPI
| Constructor and Description |
|---|
FakeSocialTimelineRulesQuery() |
| Modifier and Type | Method and Description |
|---|---|
List<SocialActivitiesEvent> |
executeAllRules() |
List<SocialActivitiesEvent> |
executeSpecificRule(Map<String,String> globals,
String drlName,
String maxResults) |
List<SocialActivitiesEvent> |
getAllCached() |
List<SocialActivitiesEvent> |
getNEventsFromEachType(int numberOfEvents,
String... typeNames) |
List<SocialActivitiesEvent> |
getTypeCached(String... typeNames) |
void |
onEvent(SocialActivitiesEvent event) |
public void onEvent(@Observes
SocialActivitiesEvent event)
public List<SocialActivitiesEvent> executeAllRules()
executeAllRules in interface SocialTimelineRulesQueryAPIpublic List<SocialActivitiesEvent> executeSpecificRule(Map<String,String> globals, String drlName, String maxResults)
executeSpecificRule in interface SocialTimelineRulesQueryAPIpublic List<SocialActivitiesEvent> getAllCached()
getAllCached in interface SocialTimelineRulesQueryAPIpublic List<SocialActivitiesEvent> getTypeCached(String... typeNames)
getTypeCached in interface SocialTimelineRulesQueryAPIpublic List<SocialActivitiesEvent> getNEventsFromEachType(int numberOfEvents, String... typeNames)
getNEventsFromEachType in interface SocialTimelineRulesQueryAPICopyright © 2012–2018 JBoss by Red Hat. All rights reserved.