Interface Tool

All Known Subinterfaces:
CToolChain

public interface Tool
An invokable tool which may support specific target environments.
  • Method Details

    • getToolName

      String getToolName()
    • getImplementationName

      String getImplementationName()
    • getPlatform

      Platform getPlatform()
      Get the platform that this tool instance is configured for.
      Returns:
      the platform (not null)
    • getVersion

      String getVersion()
      Get the tool version as a string.
      Returns:
      the tool version
    • compareVersionTo

      int compareVersionTo(String version)
      Compare the version of this tool to the given version, using the tool's version scheme.
      Parameters:
      version - the version to compare against (must not be null)
      Returns:
      -1, 0, or 1 if the tool version is older than, the same as, or newer than the given version.