Class Repository

java.lang.Object
org.apache.maven.model.v3_0_0.Repository
All Implemented Interfaces:
Serializable

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

    Fields
    Modifier and Type
    Field
    Description
    private String
    The source control management system URL that describes the repository and how to connect to the repository.
    private String
    Just like connection, but for developers, i.e.
    private String
    The URL to the project's browsable SCM repository, such as ViewVC or Fisheye.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the source control management system URL that describes the repository and how to connect to the repository.
    Get just like connection, but for developers, i.e.
    Get the URL to the project's browsable SCM repository, such as ViewVC or Fisheye.
    void
    setConnection(String connection)
    Set the source control management system URL that describes the repository and how to connect to the repository.
    void
    setDeveloperConnection(String developerConnection)
    Set just like connection, but for developers, i.e.
    void
    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
  • Field Details

    • connection

      private String connection
      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.
    • developerConnection

      private String developerConnection
      Just like connection, but for developers, i.e. this scm connection will not be read only.
    • url

      private String url
      The URL to the project's browsable SCM repository, such as ViewVC or Fisheye.
  • Constructor Details

    • Repository

      public Repository()
  • Method Details

    • getConnection

      public 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 String getDeveloperConnection()
      Get just like connection, but for developers, i.e. this scm connection will not be read only.
      Returns:
      String
    • getUrl

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

      public void setConnection(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 -
    • setDeveloperConnection

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

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