Package org.apache.maven.toolchain.model
Class PersistedToolchains
java.lang.Object
org.apache.maven.toolchain.model.TrackableBase
org.apache.maven.toolchain.model.PersistedToolchains
- All Implemented Interfaces:
Serializable
,Cloneable
The
<toolchains>
element is the root
of the descriptor.
The following table lists all of the possible child
elements.- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields inherited from class org.apache.maven.toolchain.model.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToolchain
(ToolchainModel toolchainModel) Method addToolchain.clone()
Method clone.Get the modelEncoding field.Method getToolchains.void
removeToolchain
(ToolchainModel toolchainModel) Method removeToolchain.void
setModelEncoding
(String modelEncoding) Set the modelEncoding field.void
setToolchains
(List<ToolchainModel> toolchains) Set the toolchain instance definition.Methods inherited from class org.apache.maven.toolchain.model.TrackableBase
getSourceLevel, setSourceLevel
-
Constructor Details
-
PersistedToolchains
public PersistedToolchains()
-
-
Method Details
-
addToolchain
Method addToolchain.- Parameters:
toolchainModel
- a toolchainModel object.
-
clone
Method clone.- Overrides:
clone
in classTrackableBase
- Returns:
- PersistedToolchains
-
getModelEncoding
Get the modelEncoding field.- Returns:
- String
-
getToolchains
Method getToolchains.- Returns:
- List
-
removeToolchain
Method removeToolchain.- Parameters:
toolchainModel
- a toolchainModel object.
-
setModelEncoding
Set the modelEncoding field.- Parameters:
modelEncoding
- a modelEncoding object.
-
setToolchains
Set the toolchain instance definition.- Parameters:
toolchains
- a toolchains object.
-