public class RepositoryBase extends Object implements Serializable
Constructor and Description |
---|
RepositoryBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId()
Get a unique identifier for a repository.
|
String |
getLayout()
Get the type of layout this repository uses for locating and
storing artifacts - can be
legacy or
default . |
String |
getName()
Get human readable name of the repository.
|
String |
getUrl()
Get the url of the repository, in the form
protocol://hostname/path . |
void |
setId(String id)
Set a unique identifier for a repository.
|
void |
setLayout(String layout)
Set the type of layout this repository uses for locating and
storing artifacts - can be
legacy or
default . |
void |
setName(String name)
Set human readable name of the repository.
|
void |
setUrl(String url)
Set the url of the repository, in the form
protocol://hostname/path . |
public String getId()
settings.xml
file, for example.public String getLayout()
legacy
or
default
.public String getName()
public String getUrl()
protocol://hostname/path
.public void setId(String id)
settings.xml
file, for example.id
- public void setLayout(String layout)
legacy
or
default
.layout
- public void setName(String name)
name
- public void setUrl(String url)
protocol://hostname/path
.url
- Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.