Class Repository
java.lang.Object
org.apache.maven.wagon.repository.Repository
- All Implemented Interfaces:
Serializable
This class is an abstraction of the location from/to resources
can be transfered.
- Author:
- Michal Maczka
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Retrieve the base directory of the repository.getHost()
getId()
getName()
getParameter
(String key) int
getPort()
getUrl()
int
hashCode()
void
setBasedir
(String basedir) void
void
void
setParameters
(Properties parameters) void
setPermissions
(RepositoryPermissions permissions) void
setPort
(int port) void
setProtocol
(String protocol) void
toString()
-
Constructor Details
-
Repository
public Repository()Deprecated. -
Repository
-
-
Method Details
-
getId
-
setId
-
getBasedir
Retrieve the base directory of the repository. This is derived from the full repository URL, and contains the entire path component.- Returns:
- the base directory
-
setBasedir
-
setName
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
setUrl
-
getUrl
-
getHost
-
getName
-
toString
-
getProtocol
-
getPermissions
-
setPermissions
-
getParameter
-
setParameters
-
hashCode
public int hashCode() -
equals
-
getUsername
-
getPassword
-
setProtocol
-
Repository(String, String)