public class RepositoryBase extends Objectimplements Serializable , Cloneable , InputLocationTracker
| Constructor and Description |
|---|
RepositoryBase()
|
| Modifier and Type | Method and Description |
|---|---|
RepositoryBase |
clone()
Method clone.
|
boolean |
equals(Object
Method equals.
|
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.
|
InputLocation |
getLocation(Object
Gets the location of the specified field in the input source.
|
String |
getName()
Get human readable name of the repository.
|
String |
getUrl()
Get the url of the repository, in the form
protocol://hostname/path.
|
int |
hashCode()
Method hashCode.
|
void |
setId(String
Set a unique identifier for a repository.
|
void |
setLayout(String
Set the type of layout this repository uses for locating and storing artifacts - can be
legacy or
default.
|
void |
setLocation(Object
Sets the location of the specified field.
|
void |
setName(String
Set human readable name of the repository.
|
void |
setUrl(String
Set the url of the repository, in the form
protocol://hostname/path.
|
String |
toString()
Method toString.
|
public RepositoryBaseclone()
public boolean equals(Objectother)
public StringgetId()
settings.xml file, for example. Furthermore, the identifier is used during POM inheritance and profile injection to detect repositories that should be merged.
public StringgetLayout()
legacy or
default.
public InputLocationgetLocation(Object key)
InputLocationTracker
getLocation in interface
InputLocationTracker
key -
public StringgetName()
public StringgetUrl()
protocol://hostname/path.
public void setId(Stringid)
settings.xml file, for example. Furthermore, the identifier is used during POM inheritance and profile injection to detect repositories that should be merged.
id -
public void setLayout(Stringlayout)
legacy or
default.
layout -
public void setLocation(Objectkey, InputLocation location)
InputLocationTracker
setLocation in interface
InputLocationTracker
key -
location -
public void setName(Stringname)
name -
public void setUrl(Stringurl)
protocol://hostname/path.
url -