public class Mirror extends IdentifiableBase implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
mirrorOf
The server ID of the repository being mirrored,
eg
"central".
|
private java.lang.String |
name
The optional name that describes the mirror.
|
private java.lang.String |
url
The URL of the mirror repository.
|
GLOBAL_LEVEL, USER_LEVEL
Constructor and Description |
---|
Mirror() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMirrorOf()
Get the server ID of the repository being mirrored, eg
"central".
|
java.lang.String |
getName()
Get the optional name that describes the mirror.
|
java.lang.String |
getUrl()
Get the URL of the mirror repository.
|
void |
setMirrorOf(java.lang.String mirrorOf)
Set the server ID of the repository being mirrored, eg
"central".
|
void |
setName(java.lang.String name)
Set the optional name that describes the mirror.
|
void |
setUrl(java.lang.String url)
Set the URL of the mirror repository.
|
getId, setId
getSourceLevel, setSourceLevel
private java.lang.String mirrorOf
private java.lang.String name
private java.lang.String url
public java.lang.String getMirrorOf()
public java.lang.String getName()
public java.lang.String getUrl()
public void setMirrorOf(java.lang.String mirrorOf)
mirrorOf
- public void setName(java.lang.String name)
name
- public void setUrl(java.lang.String url)
url
-