public class SelectiveActionBuilder extends Object
| Constructor and Description |
|---|
SelectiveActionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SelectiveActionBuilder |
ignore() |
static SelectiveActionBuilder |
newRule() |
SelectiveActionBuilder |
on(Class<? extends com.automationrockstars.gunter.events.Event> eventType) |
SelectiveActionBuilder |
on(com.automationrockstars.gunter.EventType type) |
SelectiveActionBuilder |
on(com.google.common.base.Predicate<com.automationrockstars.gunter.events.Event> check) |
SelectiveActionBuilder |
onOthers() |
SelectiveActionBuilder |
passTrough() |
static com.google.common.base.Predicate<com.automationrockstars.gunter.events.Event> |
predicate(boolean apply) |
Message |
process(com.automationrockstars.gunter.events.Event event) |
SelectiveActionBuilder |
run(Action<? extends com.automationrockstars.gunter.events.Event> action) |
SelectiveActionBuilder |
store() |
public static SelectiveActionBuilder newRule()
public static com.google.common.base.Predicate<com.automationrockstars.gunter.events.Event> predicate(boolean apply)
public SelectiveActionBuilder on(Class<? extends com.automationrockstars.gunter.events.Event> eventType)
public SelectiveActionBuilder onOthers()
public SelectiveActionBuilder ignore()
public SelectiveActionBuilder store()
public SelectiveActionBuilder passTrough()
public SelectiveActionBuilder on(com.automationrockstars.gunter.EventType type)
public SelectiveActionBuilder on(com.google.common.base.Predicate<com.automationrockstars.gunter.events.Event> check)
public SelectiveActionBuilder run(Action<? extends com.automationrockstars.gunter.events.Event> action)
public Message process(com.automationrockstars.gunter.events.Event event)
Copyright © 2019 Automation RockStars. All rights reserved.