Interface ActionDescriptor.Action

  • All Superinterfaces:
    Serializable
    Enclosing class:
    ActionDescriptor

    public static interface ActionDescriptor.Action
    extends Serializable
    The action to perform. Implementations might test a connection to an external resource based on a given configuration or perform some other similar action as needed.
    • Method Detail

      • actionInvoked

        String actionInvoked​(Configuration configuration)
        Implement the action to invoke.
        Parameters:
        configuration - the configuration of the adapter obtained from the GUI.
        Returns:
        a String indicating the result of the action. This might indicate success or failure or something more detailed. This value will be rendered in the GUI after invocation.
      • actionInvoked

        default String actionInvoked​(Configuration configuration,
                                     SimpleFieldList actionParameters)
        Implement the action to invoke.
        Parameters:
        configuration - the configuration of the adapter.
        actionParameters - the parameter list used to invoke the action.
        Returns:
        a String indicating the result of the action. This might indicate success or failure or something more detailed. This value will be rendered in the GUI after invocation.
        Since:
        11.0