Package ddf.action

Interface Action


public interface Action
An Action has a URL meant to be used in a browser or be able to be invoked to provide some resource or business logic. An example would be providing a link to a product or a link to calculate information about a specific resource.
  • Method Details

    • getId

      String getId()
      Returns:
      the unique identifier of the ActionProvider that supplied the Action
      See Also:
    • getUrl

      URL getUrl()
      Returns:
      URL object that provides business logic when invoked. This could be used as the href of a html hyperlink.
    • getTitle

      String getTitle()
      Returns:
      a title that provides a brief name or label for this Action. Title can be used as the hyperlink text for a HTML hyperlink.
    • getDescription

      String getDescription()
      Returns:
      a description or concise statement of what this Action does and the expected result when the Action is invoked. The description, for example, could be used to provide more information when a link is hovered upon.