Package org.apache.maven.settings
Class Mirror
java.lang.Object
org.apache.maven.settings.BaseObject
org.apache.maven.settings.TrackableBase
org.apache.maven.settings.IdentifiableBase
org.apache.maven.settings.Mirror
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.settings.BaseObject
BaseObject.ChildrenTracking
-
Field Summary
Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
Fields inherited from class org.apache.maven.settings.BaseObject
childrenTracking, delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getName()
getUrl()
int
hashCode()
boolean
mirrorToApiV3
(List<Mirror> list) mirrorToApiV4
(List<Mirror> list) protected boolean
void
setBlocked
(boolean blocked) void
void
setMirrorOf
(String mirrorOf) void
setMirrorOfLayouts
(String mirrorOfLayouts) void
void
toString()
Methods inherited from class org.apache.maven.settings.IdentifiableBase
getId, identifiableBaseToApiV3, identifiableBaseToApiV4, setId
Methods inherited from class org.apache.maven.settings.TrackableBase
getSourceLevel, setSourceLevel, trackableBaseToApiV3, trackableBaseToApiV4
Methods inherited from class org.apache.maven.settings.BaseObject
update
-
Constructor Details
-
Mirror
public Mirror() -
Mirror
-
Mirror
-
-
Method Details
-
clone
- Overrides:
clone
in classIdentifiableBase
-
getDelegate
- Overrides:
getDelegate
in classIdentifiableBase
-
equals
- Overrides:
equals
in classIdentifiableBase
-
hashCode
public int hashCode()- Overrides:
hashCode
in classIdentifiableBase
-
getMirrorOf
-
setMirrorOf
-
getName
-
setName
-
getUrl
-
setUrl
-
getLayout
-
setLayout
-
getMirrorOfLayouts
-
setMirrorOfLayouts
-
isBlocked
public boolean isBlocked() -
setBlocked
public void setBlocked(boolean blocked) -
replace
- Overrides:
replace
in classIdentifiableBase
-
mirrorToApiV4
-
mirrorToApiV3
-
toString
-