Class RepositoryUrl
- java.lang.Object
-
- org.apache.maven.scm.provider.git.repository.RepositoryUrl
-
public class RepositoryUrl extends java.lang.Object
This class is a container which holds information about repository URL.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
host
the server to access the upstream repositoryprivate java.lang.String
password
the password from the repository URLprivate java.lang.String
path
the path on the server to access the upstream repositoryprivate java.lang.String
port
the port to access the upstream repositoryprivate java.lang.String
protocol
the protocol used to access the upstream repositoryprivate java.lang.String
userName
the user name from the repository URL
-
Constructor Summary
Constructors Constructor Description RepositoryUrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHost()
java.lang.String
getPassword()
java.lang.String
getPath()
java.lang.String
getPort()
java.lang.String
getProtocol()
java.lang.String
getUserName()
void
setHost(java.lang.String host)
void
setPassword(java.lang.String password)
void
setPath(java.lang.String path)
void
setPort(java.lang.String port)
void
setProtocol(java.lang.String protocol)
void
setUserName(java.lang.String userName)
-
-
-
Field Detail
-
protocol
private java.lang.String protocol
the protocol used to access the upstream repository
-
host
private java.lang.String host
the server to access the upstream repository
-
port
private java.lang.String port
the port to access the upstream repository
-
path
private java.lang.String path
the path on the server to access the upstream repository
-
userName
private java.lang.String userName
the user name from the repository URL
-
password
private java.lang.String password
the password from the repository URL
-
-
Method Detail
-
getProtocol
public java.lang.String getProtocol()
-
setProtocol
public void setProtocol(java.lang.String protocol)
-
getHost
public java.lang.String getHost()
-
setHost
public void setHost(java.lang.String host)
-
getPort
public java.lang.String getPort()
-
setPort
public void setPort(java.lang.String port)
-
getPath
public java.lang.String getPath()
-
setPath
public void setPath(java.lang.String path)
-
getUserName
public java.lang.String getUserName()
-
setUserName
public void setUserName(java.lang.String userName)
-
getPassword
public java.lang.String getPassword()
-
setPassword
public void setPassword(java.lang.String password)
-
-