Package io.dialob.executor.command
Class Triggers
- java.lang.Object
-
- io.dialob.executor.command.Triggers
-
@Enclosing public class Triggers extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTriggers.EventsProvider<T>
-
Field Summary
Fields Modifier and Type Field Description static ActivePageUpdatedEventACTIVE_PAGE_UPDATED_EVENTstatic AnyInvalidAnswersUpdatedEventANY_INVALID_ANSWERS_UPDATED_EVENTstatic AvailableItemsUpdatedEventAVAILABLE_ITEMS_UPDATED_EVENT
-
Constructor Summary
Constructors Constructor Description Triggers()
-
Method Summary
-
-
-
Field Detail
-
ACTIVE_PAGE_UPDATED_EVENT
public static final ActivePageUpdatedEvent ACTIVE_PAGE_UPDATED_EVENT
-
AVAILABLE_ITEMS_UPDATED_EVENT
public static final AvailableItemsUpdatedEvent AVAILABLE_ITEMS_UPDATED_EVENT
-
ANY_INVALID_ANSWERS_UPDATED_EVENT
public static final AnyInvalidAnswersUpdatedEvent ANY_INVALID_ANSWERS_UPDATED_EVENT
-
-
Method Detail
-
trigger
public static <T> io.dialob.executor.command.Triggers.TriggerBuilder<T> trigger(@Nonnull Triggers.EventsProvider<T> eventsProvider)
-
trigger
public static <T> io.dialob.executor.command.Triggers.TriggerBuilder<T> trigger(@Nonnull Event event)
-
onTarget
public static TargetEvent onTarget(@Nonnull ItemId targetId)
-
stateChangedEvent
public static TargetEvent stateChangedEvent(@Nonnull ItemId targetId)
-
sessionLocaleUpdatedEvent
public static SessionUpdatedEvent sessionLocaleUpdatedEvent()
-
activityUpdatedEvent
public static Event activityUpdatedEvent(TargetEvent targetEvent)
-
labelUpdatedEvent
public static Event labelUpdatedEvent(TargetEvent targetEvent)
-
descriptionUpdatedEvent
public static Event descriptionUpdatedEvent(TargetEvent targetEvent)
-
requiredUpdatedEvent
public static Event requiredUpdatedEvent(TargetEvent targetEvent)
-
answeredUpdatedEvent
public static Event answeredUpdatedEvent(TargetEvent targetEvent)
-
validityUpdatedEvent
public static Event validityUpdatedEvent(TargetEvent targetEvent)
-
itemsChangedEvent
public static Event itemsChangedEvent(TargetEvent targetEvent)
-
rowGroupItemsInitEvent
public static Triggers.EventsProvider<ItemState> rowGroupItemsInitEvent(ItemId prototypeId)
-
disabledUpdatedEvent
public static Event disabledUpdatedEvent(TargetEvent targetEvent)
-
statusUpdatedEvent
public static Event statusUpdatedEvent(TargetEvent targetEvent)
-
groupItemsUpdatedEvent
public static Triggers.EventsProvider<ItemState> groupItemsUpdatedEvent(TargetEvent targetEvent)
-
groupItemsUpdatedEvent
public static Triggers.EventsProvider<ItemState> groupItemsUpdatedEvent(ItemId prototypeId)
-
activePageUpdatedEvent
public static Event activePageUpdatedEvent()
-
availableItemsUpdatedEvent
public static Event availableItemsUpdatedEvent()
-
anyInvalidAnswersUpdatedEvent
public static Event anyInvalidAnswersUpdatedEvent()
-
-