Interface ToolchainPrivate

All Superinterfaces:
Toolchain
All Known Implementing Classes:
DefaultJavaToolChain, DefaultToolchain, JavaToolchainImpl

@Deprecated(since="4.0.0") public interface ToolchainPrivate extends Toolchain
Deprecated.
Use Toolchain instead.
a private contract between the toolchains plugin and the components.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    boolean
    Deprecated.
    Let the toolchain decide if it matches requirements defined in the toolchain plugin configuration.

    Methods inherited from interface org.apache.maven.toolchain.Toolchain

    findTool, getType
  • Method Details

    • matchesRequirements

      boolean matchesRequirements(Map<String,String> requirements)
      Deprecated.
      Let 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:
      true if the requirements match, otherwise false
    • getModel

      ToolchainModel getModel()
      Deprecated.
      Returns:
      the original model wrapped by this interface