Package org.apache.maven.toolchain
Interface ToolchainPrivate
- All Superinterfaces:
Toolchain
- All Known Implementing Classes:
DefaultJavaToolChain
,DefaultToolchain
,JavaToolchainImpl
a private contract between the toolchains plugin and the components.
- Author:
- mkleint
-
Method Summary
Modifier and TypeMethodDescriptiongetModel()
boolean
matchesRequirements
(Map<String, String> requirements) Let the toolchain decide if it matches requirements defined in the toolchain plugin configuration.
-
Method Details
-
matchesRequirements
Let the toolchain decide if it matches requirements defined in the toolchain plugin configuration.- Parameters:
requirements
- Map<String, String> key value pair, may not benull
- Returns:
true
if the requirements match, otherwisefalse
-
getModel
ToolchainModel getModel()- Returns:
- the original model wrapped by this interface
-