public class ToolchainModel extends TrackableBase implements Serializable, Cloneable
GLOBAL_LEVEL, USER_LEVEL
Constructor and Description |
---|
ToolchainModel() |
Modifier and Type | Method and Description |
---|---|
void |
addProvide(String key,
String value)
Method addProvide.
|
ToolchainModel |
clone()
Method clone.
|
boolean |
equals(Object other)
Method equals.
|
Object |
getConfiguration()
Get
|
Properties |
getProvides()
Method getProvides.
|
String |
getType()
|
int |
hashCode()
Method hashCode.
|
void |
setConfiguration(Object configuration)
Set
|
void |
setProvides(Properties provides)
Set
|
void |
setType(String type)
|
getSourceLevel, setSourceLevel
public void addProvide(String key, String value)
key
- value
- public ToolchainModel clone()
clone
in class TrackableBase
public 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 Properties getProvides()
public String getType()
jdk
for
JDK
Standard Toolchain,public void setConfiguration(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(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(String type)
jdk
for
JDK
Standard Toolchain,type
- Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.