Annotation Type OneExecution


  • @Target({TYPE,METHOD})
    @Retention(RUNTIME)
    public @interface OneExecution
    State strategy alias for OneExecutionStateStrategy. Applying this annotation has the same effect as applying @StateStrategyType(OneExecutionStateStrategy.class).

    With this strategy command will be saved in the commands queue, but will be removed after its first execution.