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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddToolchain(ToolchainModel toolchainModel) Method addToolchain.clone()Method clone.Get the modelEncoding field.Method getToolchains.voidremoveToolchain(ToolchainModel toolchainModel) Method removeToolchain.voidsetModelEncoding(String modelEncoding) Set the modelEncoding field.voidsetToolchains(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:
 clonein 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.
 
 -