Class DefaultToolchain

    • Constructor Detail

      • DefaultToolchain

        protected DefaultToolchain​(ToolchainModel model,
                                   org.codehaus.plexus.logging.Logger logger)
        Parameters:
        model - the model, must not be null
        logger - the logger, must not be null
      • DefaultToolchain

        protected DefaultToolchain​(ToolchainModel model,
                                   String type,
                                   org.codehaus.plexus.logging.Logger logger)
        Parameters:
        model - the model, must not be null
        type - the type
        logger - the logger, must not be null
    • Method Detail

      • getType

        public final String getType()
        Description copied from interface: Toolchain
        get the type of toolchain.
        Specified by:
        getType in interface Toolchain
        Returns:
        the toolchain type
      • matchesRequirements

        public boolean matchesRequirements​(Map<String,​String> requirements)
        Description copied from interface: ToolchainPrivate
        Let the toolchain decide if it matches requirements defined in the toolchain plugin configuration.
        Specified by:
        matchesRequirements in interface ToolchainPrivate
        Parameters:
        requirements - Map<String, String> key value pair, may not be null
        Returns:
        true if the requirements match, otherwise false
      • getLog

        protected org.codehaus.plexus.logging.Logger getLog()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object