Class Mirror

  • All Implemented Interfaces:
    java.io.Serializable

    public class Mirror
    extends IdentifiableBase
    implements java.io.Serializable
    A download mirror for a given repository.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Mirror()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMirrorOf()
      Get the server ID of the repository being mirrored, eg "central".
      java.lang.String getName()
      Get the optional name that describes the mirror.
      java.lang.String getUrl()
      Get the URL of the mirror repository.
      void setMirrorOf​(java.lang.String mirrorOf)
      Set the server ID of the repository being mirrored, eg "central".
      void setName​(java.lang.String name)
      Set the optional name that describes the mirror.
      void setUrl​(java.lang.String url)
      Set the URL of the mirror repository.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Mirror

        public Mirror()
    • Method Detail

      • getMirrorOf

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

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

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

        public void setMirrorOf​(java.lang.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​(java.lang.String name)
        Set the optional name that describes the mirror.
        Parameters:
        name - a name object.
      • setUrl

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