Class Repository

  • All Implemented Interfaces:
    java.io.Serializable

    public class Repository
    extends java.lang.Object
    implements java.io.Serializable
    The <repository> element contains informations required to a repository used by the project.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Repository()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getConnection()
      Get the source control management system URL that describes the repository and how to connect to the repository.
      java.lang.String getDeveloperConnection()
      Get just like connection, but for developers, i.e.
      java.lang.String getUrl()
      Get the URL to the project's browsable SCM repository, such as ViewVC or Fisheye.
      void setConnection​(java.lang.String connection)
      Set the source control management system URL that describes the repository and how to connect to the repository.
      void setDeveloperConnection​(java.lang.String developerConnection)
      Set just like connection, but for developers, i.e.
      void setUrl​(java.lang.String url)
      Set the URL to the project's browsable SCM repository, such as ViewVC or Fisheye.
      • Methods inherited from class java.lang.Object

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

      • Repository

        public Repository()
    • Method Detail

      • getConnection

        public java.lang.String getConnection()
        Get the source control management system URL that describes the repository and how to connect to the repository. For more information, see the URL format and list of supported SCMs. This connection is read-only.
        Returns:
        String
      • getDeveloperConnection

        public java.lang.String getDeveloperConnection()
        Get just like connection, but for developers, i.e. this scm connection will not be read only.
        Returns:
        String
      • getUrl

        public java.lang.String getUrl()
        Get the URL to the project's browsable SCM repository, such as ViewVC or Fisheye.
        Returns:
        String
      • setConnection

        public void setConnection​(java.lang.String connection)
        Set the source control management system URL that describes the repository and how to connect to the repository. For more information, see the URL format and list of supported SCMs. This connection is read-only.
        Parameters:
        connection - a connection object.
      • setDeveloperConnection

        public void setDeveloperConnection​(java.lang.String developerConnection)
        Set just like connection, but for developers, i.e. this scm connection will not be read only.
        Parameters:
        developerConnection - a developerConnection object.
      • setUrl

        public void setUrl​(java.lang.String url)
        Set the URL to the project's browsable SCM repository, such as ViewVC or Fisheye.
        Parameters:
        url - a url object.