Class PersistedToolchains

java.lang.Object
org.apache.maven.toolchain.model.TrackableBase
org.apache.maven.toolchain.model.PersistedToolchains
All Implemented Interfaces:
Serializable, Cloneable

public class PersistedToolchains extends TrackableBase implements 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:
  • Constructor Details

    • PersistedToolchains

      public PersistedToolchains()
  • Method Details

    • addToolchain

      public void addToolchain(ToolchainModel toolchainModel)
      Method addToolchain.
      Parameters:
      toolchainModel - a toolchainModel object.
    • clone

      public PersistedToolchains clone()
      Method clone.
      Overrides:
      clone in class TrackableBase
      Returns:
      PersistedToolchains
    • getModelEncoding

      public String getModelEncoding()
      Get the modelEncoding field.
      Returns:
      String
    • getToolchains

      public List<ToolchainModel> getToolchains()
      Method getToolchains.
      Returns:
      List
    • removeToolchain

      public void removeToolchain(ToolchainModel toolchainModel)
      Method removeToolchain.
      Parameters:
      toolchainModel - a toolchainModel object.
    • setModelEncoding

      public void setModelEncoding(String modelEncoding)
      Set the modelEncoding field.
      Parameters:
      modelEncoding - a modelEncoding object.
    • setToolchains

      public void setToolchains(List<ToolchainModel> toolchains)
      Set the toolchain instance definition.
      Parameters:
      toolchains - a toolchains object.