|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.model.RepositoryBase
public class RepositoryBase
A repository contains the information needed for establishing connections with remote repository.
Constructor Summary | |
---|---|
RepositoryBase()
|
Method Summary | |
---|---|
RepositoryBase |
clone()
Method clone. |
boolean |
equals(Object other)
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 key)
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 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 |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field. |
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 . |
String |
toString()
Method toString. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepositoryBase()
Method Detail |
---|
public RepositoryBase clone()
clone
in class Object
public boolean equals(Object other)
equals
in class Object
other
-
public String getId()
settings.xml
file, for example. Furthermore,
the identifier is
used during POM inheritance and profile
injection to detect repositories that should be merged.
public String getLayout()
legacy
or
default
.
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
-
public String getName()
public String getUrl()
protocol://hostname/path
.
public int hashCode()
hashCode
in class Object
public void setId(String id)
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(String layout)
legacy
or
default
.
layout
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setName(String name)
name
- public void setUrl(String url)
protocol://hostname/path
.
url
- public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |