Class ToolchainModel

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class ToolchainModel
    extends TrackableBase
    implements java.io.Serializable, java.lang.Cloneable
    Definition of a toolchain instance.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Detail

      • provides

        private java.util.Properties provides
        Field provides.
      • configuration

        private java.lang.Object configuration

        Toolchain configuration information, like location or any information that is to be retrieved.

        Actual content structure is completely open: each toolchain type will define its own format and semantics.

        In general, this is a properties format: <name>value</name> with per-toolchain defined properties names.

    • Constructor Detail

      • ToolchainModel

        public ToolchainModel()
    • Method Detail

      • addProvide

        public void addProvide​(java.lang.String key,
                               java.lang.String value)
        Method addProvide.
        Parameters:
        key -
        value -
      • getConfiguration

        public java.lang.Object getConfiguration()
        Get

        Toolchain configuration information, like location or any information that is to be retrieved.

        Actual content structure is completely open: each toolchain type will define its own format and semantics.

        In general, this is a properties format: <name>value</name> with per-toolchain defined properties names.

        Returns:
        Object
      • getProvides

        public java.util.Properties getProvides()
        Method getProvides.
        Returns:
        Properties
      • setConfiguration

        public void setConfiguration​(java.lang.Object configuration)
        Set

        Toolchain configuration information, like location or any information that is to be retrieved.

        Actual content structure is completely open: each toolchain type will define its own format and semantics.

        In general, this is a properties format: <name>value</name> with per-toolchain defined properties names.

        Parameters:
        configuration -
      • setProvides

        public void setProvides​(java.util.Properties provides)
        Set

        Toolchain identification information, which will be matched against project requirements.

        For Maven 2.0.9 to 3.2.3, the actual content structure was completely open: each toolchain type would define its own format and semantics. In general, this was a properties format.

        Since Maven 3.2.4, the type for this field has been changed to Properties to match the de-facto format.

        Each toolchain defines its own properties names and semantics.

        Parameters:
        provides -
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int
      • equals

        public boolean equals​(java.lang.Object other)
        Method equals.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        other -
        Returns:
        boolean