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 TypeMethodDescriptionbooleanRetrieve the base directory of the repository.getHost()getId()getName()getParameter(String key) intgetPort()getUrl()inthashCode()voidsetBasedir(String basedir) voidvoidvoidsetParameters(Properties parameters) voidsetPermissions(RepositoryPermissions permissions) voidsetPort(int port) voidsetProtocol(String protocol) voidtoString()
-
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)