Interface FunctionSupplierContext

All Superinterfaces:
ActionContext
All Known Implementing Classes:
ListingActionContext, NavigatableActionContext, ProgramLocationActionContext

public interface FunctionSupplierContext extends ActionContext
A "mix-in" interface that specific implementers of ActionContext may also implement if they can supply functions in their action context. Actions that want to work on functions can look for this interface, which can used in a variety of contexts.
  • Method Details

    • hasFunctions

      boolean hasFunctions()
      Returns true if this context can supply one or more functions.
      Returns:
      true if this context can supply one or more functions
    • getFunctions

      Set<Function> getFunctions()
      Returns the set of functions that this context object can supply.
      Returns:
      the set of functions that this context object can supply