public class BehaviourBarrier extends BotBehaviour
activeListeners, context, coordinationBehaviours, logger, name| Constructor and Description |
|---|
BehaviourBarrier(EventListenerContext context) |
BehaviourBarrier(EventListenerContext context,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onActivate(java.util.Optional<java.lang.Object> message)
Activates the behaviour by registering listeners, if you addListeners with the subscribeWithAutoCleanup method, you
do not have to clean them within the onCleanup method.
|
void |
thenStart(BotBehaviour botBehaviour) |
void |
waitFor(BotBehaviour botBehaviour) |
activate, activate, deactivate, deactivate, getName, isActive, onActivateActivate, onActivateDeactivate, onCleanup, onDeactivateActivate, onDeactivateDeactivate, subscribeWithAutoCleanuppublic BehaviourBarrier(EventListenerContext context)
public BehaviourBarrier(EventListenerContext context, java.lang.String name)
public void waitFor(BotBehaviour botBehaviour)
public void thenStart(BotBehaviour botBehaviour)
protected void onActivate(java.util.Optional<java.lang.Object> message)
BotBehaviouronActivate in class BotBehaviourCopyright © 2018. All Rights Reserved.