Interface ToolProvider


public interface ToolProvider
  • Method Details

    • findTools

      <T extends Tool> Iterable<T> findTools(Class<T> type, Platform platform, Path path)
      Try to find a tool provider which responds to the given executable path.
      Type Parameters:
      T - the tool type
      Parameters:
      type - the tool class (must not be null)
      platform - the platform that the tool must support (must not be null)
      path - the path to try (must not be null)
      Returns:
      a (possibly empty) iterable containing all of the matching candidate tools
    • findAllTools

      static <T extends Tool> Iterable<T> findAllTools(Class<T> type, Platform platform, Predicate<? super T> filter, ClassLoader classLoader, List<Path> paths)