Example usage for org.springframework.statemachine.trigger Trigger arm

List of usage examples for org.springframework.statemachine.trigger Trigger arm

Introduction

In this page you can find the example usage for org.springframework.statemachine.trigger Trigger arm.

Prototype

void arm();

Source Link

Document

Arm a trigger.

Usage

From source file:org.springframework.statemachine.state.AbstractState.java

@Override
public void entry(StateContext<S, E> context) {
    stateListener.onEntry(context);// w  w  w.j  a  v a2  s  .  co m
    for (Trigger<S, E> trigger : triggers) {
        trigger.arm();
    }
    scheduleStateActions(context);
}