Class ToolchainModel
- All Implemented Interfaces:
- Serializable,- Cloneable
- Version:
- $Revision$ $Date$
- See Also:
- 
Field SummaryFields inherited from class org.apache.maven.toolchain.model.TrackableBaseGLOBAL_LEVEL, USER_LEVEL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddProvide(String key, String value) Method addProvide.clone()Method clone.booleanMethod equals.GetMethod getProvides.getType()inthashCode()Method hashCode.voidsetConfiguration(Object configuration) SetvoidsetProvides(Properties provides) SetvoidMethods inherited from class org.apache.maven.toolchain.model.TrackableBasegetSourceLevel, setSourceLevel
- 
Constructor Details- 
ToolchainModelpublic ToolchainModel()
 
- 
- 
Method Details- 
addProvideMethod addProvide.- Parameters:
- key- a key object.
- value- a value object.
 
- 
cloneMethod clone.- Overrides:
- clonein class- TrackableBase
- Returns:
- ToolchainModel
 
- 
getConfigurationGetToolchain 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
 
- 
getProvidesMethod getProvides.- Returns:
- Properties
 
- 
getTypeGet type of toolchain:- jdkfor JDK Standard Toolchain,
- other value for Custom Toolchain
 - Returns:
- String
 
- 
setConfigurationSetToolchain 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- a configuration object.
 
- 
setProvidesSetToolchain 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- a provides object.
 
- 
setTypeSet type of toolchain:- jdkfor JDK Standard Toolchain,
- other value for Custom Toolchain
 - Parameters:
- type- a type object.
 
- 
hashCodepublic int hashCode()Method hashCode.
- 
equalsMethod equals.
 
-