Annotation Type SingleState


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

    This strategy will clear current commands queue and then the given command will be put in.

    Caution! Be sure that you fully set view to initial state inside this command.