Interface Toolchain

All Known Subinterfaces:
JavaToolchain

@Experimental public interface Toolchain
Toolchain interface.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    findTool(String toolName)
    Gets the platform tool executable.
    get the type of toolchain.
    boolean
    Let the toolchain decide if it matches requirements defined in the toolchain plugin configuration.
  • Method Details

    • getType

      String getType()
      get the type of toolchain.
      Returns:
      the toolchain type
    • findTool

      String findTool(String toolName)
      Gets the platform tool executable.
      Parameters:
      toolName - the tool platform independent tool name
      Returns:
      file representing the tool executable, or null if the tool cannot be found
    • matchesRequirements

      boolean matchesRequirements(Map<String,String> requirements)
      Let the toolchain decide if it matches requirements defined in the toolchain plugin configuration.
      Parameters:
      requirements - Map<String, String> key value pair, may not be null
      Returns:
      true if the requirements match, otherwise false