Class ActionApplier

    • Field Detail

      • EMPTY

        public static final ActionApplier EMPTY
        The empty action applier
    • Constructor Detail

      • ActionApplier

        public ActionApplier​(List<Action> actions,
                             StringReplacer replacer)
        Create a new action applier
        Parameters:
        actions - the actions
        replacer - the replacer
      • ActionApplier

        public ActionApplier​(Menu menu,
                             Object value)
        Create a new action applier
        Parameters:
        menu - the menu
        value - the value
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Check if the applier is empty
        Returns:
        true if it is empty
      • acceptWithoutNext

        public void acceptWithoutNext​(UUID uuid,
                                      TaskProcess process)
        Apply the action to the process without the next action
        Parameters:
        uuid - the unique id
        process - the process