public class ToolchainModel extends TrackableBase implements java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
configuration
Toolchain configuration information,
like location or any information that is to be
retrieved.
|
private java.util.Properties |
provides
Field provides.
|
private java.lang.String |
type
|
GLOBAL_LEVEL, USER_LEVEL| Constructor and Description |
|---|
ToolchainModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProvide(java.lang.String key,
java.lang.String value)
Method addProvide.
|
ToolchainModel |
clone()
Method clone.
|
boolean |
equals(java.lang.Object other)
Method equals.
|
java.lang.Object |
getConfiguration()
Get
|
java.util.Properties |
getProvides()
Method getProvides.
|
java.lang.String |
getType()
|
int |
hashCode()
Method hashCode.
|
void |
setConfiguration(java.lang.Object configuration)
Set
|
void |
setProvides(java.util.Properties provides)
Set
|
void |
setType(java.lang.String type)
|
getSourceLevel, setSourceLevelprivate java.lang.String type
jdk for
JDK
Standard Toolchain,private java.util.Properties provides
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.
public void addProvide(java.lang.String key,
java.lang.String value)
key - value - public ToolchainModel clone()
clone in class TrackableBasepublic java.lang.Object getConfiguration()
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.
public java.util.Properties getProvides()
public java.lang.String getType()
jdk for
JDK
Standard Toolchain,public void setConfiguration(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.
configuration - public void setProvides(java.util.Properties provides)
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.
provides - public void setType(java.lang.String type)
jdk for
JDK
Standard Toolchain,type - public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectother -