Class Mirror

All Implemented Interfaces:
Serializable

public class Mirror extends IdentifiableBase implements Serializable
A download mirror for a given repository.
Version:
$Revision$ $Date$
See Also:
  • Field Details

    • mirrorOf

      private String mirrorOf
      The server ID of the repository being mirrored, eg "central". This MUST NOT match the mirror id.
    • name

      private String name
      The optional name that describes the mirror.
    • url

      private String url
      The URL of the mirror repository.
  • Constructor Details

    • Mirror

      public Mirror()
  • Method Details

    • getMirrorOf

      public String getMirrorOf()
      Get the server ID of the repository being mirrored, eg "central". This MUST NOT match the mirror id.
      Returns:
      String
    • getName

      public String getName()
      Get the optional name that describes the mirror.
      Returns:
      String
    • getUrl

      public String getUrl()
      Get the URL of the mirror repository.
      Returns:
      String
    • setMirrorOf

      public void setMirrorOf(String mirrorOf)
      Set the server ID of the repository being mirrored, eg "central". This MUST NOT match the mirror id.
      Parameters:
      mirrorOf - a mirrorOf object.
    • setName

      public void setName(String name)
      Set the optional name that describes the mirror.
      Parameters:
      name - a name object.
    • setUrl

      public void setUrl(String url)
      Set the URL of the mirror repository.
      Parameters:
      url - a url object.