|
||||||||||
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 | |
---|---|
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 |
getModelEncoding()
|
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 |
setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model. |
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 . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryBase()
Method Detail |
---|
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
- public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public void setModelEncoding(String modelEncoding)
modelEncoding
- the encoding used when reading/writing the model.public String getModelEncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |