Package org.apache.maven.api
Interface Toolchain
- All Known Subinterfaces:
- JavaToolchain
Toolchain interface.
- Since:
- 4.0.0
- 
Method SummaryModifier and TypeMethodDescriptionGets the platform tool executable.getType()get the type of toolchain.booleanmatchesRequirements(Map<String, String> requirements) Let the toolchain decide if it matches requirements defined in the toolchain plugin configuration.
- 
Method Details- 
getTypeString getType()get the type of toolchain.- Returns:
- the toolchain type
 
- 
findToolGets 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
 
- 
matchesRequirementsLet 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:
- trueif the requirements match, otherwise- false
 
 
-