org.apache.maven.toolchain.model
Class PersistedToolchains

java.lang.Object
  extended by org.apache.maven.toolchain.model.PersistedToolchains
All Implemented Interfaces:
Serializable

public class PersistedToolchains
extends Object
implements 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:
Serialized Form

Constructor Summary
PersistedToolchains()
           
 
Method Summary
 void addToolchain(ToolchainModel toolchainModel)
          Method addToolchain.
 String getModelEncoding()
          Method getModelEncoding.
 List<ToolchainModel> getToolchains()
          Method getToolchains.
 void removeToolchain(ToolchainModel toolchainModel)
          Method removeToolchain.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setToolchains(List<ToolchainModel> toolchains)
          Set the toolchain definition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistedToolchains

public PersistedToolchains()
Method Detail

addToolchain

public void addToolchain(ToolchainModel toolchainModel)
Method addToolchain.

Parameters:
toolchainModel -

getModelEncoding

public String getModelEncoding()
Method getModelEncoding.

Returns:
the current encoding used when reading/writing this model

getToolchains

public List<ToolchainModel> getToolchains()
Method getToolchains.

Returns:
List

removeToolchain

public void removeToolchain(ToolchainModel toolchainModel)
Method removeToolchain.

Parameters:
toolchainModel -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding -

setToolchains

public void setToolchains(List<ToolchainModel> toolchains)
Set the toolchain definition.

Parameters:
toolchains -


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.