Package org.apache.maven.toolchain.model
Class PersistedToolchains
java.lang.Object
org.apache.maven.toolchain.model.PersistedToolchains
- All Implemented Interfaces:
Serializable
The
<toolchains> element is the root
of the descriptor.
The following table lists all of the possible child
elements.- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToolchain(ToolchainModel toolchainModel) Method addToolchain.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 definition.
-
Constructor Details
-
PersistedToolchains
public PersistedToolchains()
-
-
Method Details
-
addToolchain
Method addToolchain.- Parameters:
toolchainModel- a toolchainModel object.
-
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 definition.- Parameters:
toolchains- a toolchains object.
-