Interface ActionHandler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ActionHandler
What an action does, answering at once.
  • Method Summary

    Modifier and Type
    Method
    Description
    Does the action.
  • Method Details

    • handle

      Result handle(ActionContext context) throws Exception
      Does the action. It has 30 seconds.
      Parameters:
      context - who runs it, and the values that came with it
      Returns:
      what the dashboard says and does next
      Throws:
      Exception - anything: the dashboard then says the action failed, and the console shows why