Package org.apache.maven.toolchain
Interface ToolchainPrivate
-
- All Superinterfaces:
Toolchain
- All Known Implementing Classes:
DefaultJavaToolChain
,DefaultToolchain
,JavaToolchainImpl
public interface ToolchainPrivate extends Toolchain
a private contract between the toolchains plugin and the components.- Author:
- mkleint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ToolchainModel
getModel()
boolean
matchesRequirements(Map<String,String> requirements)
Let the toolchain decide if it matches requirements defined in the toolchain plugin configuration.
-
-
-
Method Detail
-
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 benull
- Returns:
true
if the requirements match, otherwisefalse
-
getModel
ToolchainModel getModel()
- Returns:
- the original model wrapped by this interface
-
-