Package org.apache.maven.profiles
Class RepositoryBase
java.lang.Object
org.apache.maven.profiles.RepositoryBase
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Repository
Repository contains the information needed
for establishing connections with remote repository
.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()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.voidSet a unique identifier for a repository.voidSet the type of layout this repository uses for locating and storing artifacts - can be "legacy" or "default".voidSet human readable name of the repository.voidSet the url of the repository.
-
Constructor Details
-
RepositoryBase
public RepositoryBase()
-
-
Method Details
-
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
-