Package org.apache.maven.settings
Class RepositoryBase
java.lang.Object
org.apache.maven.settings.RepositoryBase
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
Repository
Repository contains the information needed
for establishing connections with remote repository
.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Method clone.boolean
getId()
Get a unique identifier for a repository.Get the type of layout this repository uses for locating and storing artifacts - can be "legacy" or "default".getName()
Get human readable name of the repository.getUrl()
Get the url of the repository.void
Set a unique identifier for a repository.void
Set the type of layout this repository uses for locating and storing artifacts - can be "legacy" or "default".void
Set human readable name of the repository.void
Set the url of the repository.
-
Constructor Details
-
RepositoryBase
public RepositoryBase()
-
-
Method Details
-
clone
Method clone. -
getId
Get a unique identifier for a repository.- Returns:
- String
-
getLayout
Get the type of layout this repository uses for locating and storing artifacts - can be "legacy" or "default".- Returns:
- String
-
getName
Get human readable name of the repository.- Returns:
- String
-
getUrl
Get the url of the repository.- Returns:
- String
-
setId
Set a unique identifier for a repository.- Parameters:
id
- a id object.
-
setLayout
Set the type of layout this repository uses for locating and storing artifacts - can be "legacy" or "default".- Parameters:
layout
- a layout object.
-
setName
Set human readable name of the repository.- Parameters:
name
- a name object.
-
setUrl
Set the url of the repository.- Parameters:
url
- a url object.
-
equals
-