Package org.qbicc.machine.tool
Interface Tool
- All Known Subinterfaces:
CToolChain
public interface Tool
An invokable tool which may support specific target environments.
-
Method Summary
Modifier and TypeMethodDescriptionintcompareVersionTo(String version) Compare the version of this tool to the given version, using the tool's version scheme.Get the platform that this tool instance is configured for.Get the tool version as a string.
-
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
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 benull)- Returns:
-1,0, or1if the tool version is older than, the same as, or newer than the given version.
-