public class Mirror extends IdentifiableBase implements Serializable, Cloneable
GLOBAL_LEVEL, USER_LEVEL
Constructor and Description |
---|
Mirror() |
Modifier and Type | Method and Description |
---|---|
Mirror |
clone()
Method clone.
|
String |
getLayout()
Get the layout of the mirror repository.
|
String |
getMirrorOf()
Get the server ID of the repository being mirrored, eg
"central".
|
String |
getMirrorOfLayouts()
Get the layouts of repositories being mirrored.
|
String |
getName()
Get the optional name that describes the mirror.
|
String |
getUrl()
Get the URL of the mirror repository.
|
void |
setLayout(String layout)
Set the layout of the mirror repository.
|
void |
setMirrorOf(String mirrorOf)
Set the server ID of the repository being mirrored, eg
"central".
|
void |
setMirrorOfLayouts(String mirrorOfLayouts)
Set the layouts of repositories being mirrored.
|
void |
setName(String name)
Set the optional name that describes the mirror.
|
void |
setUrl(String url)
Set the URL of the mirror repository.
|
String |
toString() |
getId, setId
getSourceLevel, setSourceLevel
public Mirror()
public Mirror clone()
clone
in class IdentifiableBase
public String getLayout()
public String getMirrorOf()
public String getMirrorOfLayouts()
public void setLayout(String layout)
layout
- public void setMirrorOf(String mirrorOf)
mirrorOf
- public void setMirrorOfLayouts(String mirrorOfLayouts)
mirrorOfLayouts
- public void setName(String name)
name
- Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.