Class RepositoryUrl
java.lang.Object
org.apache.maven.scm.provider.git.repository.RepositoryUrl
This class is a container which holds information about
repository URL.
- Since:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe server to access the upstream repository.private StringThe password from the repository URL.private StringThe path on the server to access the upstream repository.private StringThe port to access the upstream repository.private StringThe protocol used to access the upstream repository.private StringThe user name from the repository URL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()getPath()getPort()voidvoidsetPassword(String password) voidvoidvoidsetProtocol(String protocol) voidsetUserName(String userName)
-
Field Details
-
protocol
The protocol used to access the upstream repository. -
host
The server to access the upstream repository. -
port
The port to access the upstream repository. -
path
The path on the server to access the upstream repository. -
userName
The user name from the repository URL. -
password
The password from the repository URL.
-
-
Constructor Details
-
RepositoryUrl
public RepositoryUrl()
-
-
Method Details
-
getProtocol
-
setProtocol
-
getHost
-
setHost
-
getPort
-
setPort
-
getPath
-
setPath
-
getUserName
-
setUserName
-
getPassword
-
setPassword
-