Package org.apache.maven.settings
Class Repository
java.lang.Object
org.apache.maven.settings.BaseObject
org.apache.maven.settings.TrackableBase
org.apache.maven.settings.IdentifiableBase
org.apache.maven.settings.RepositoryBase
org.apache.maven.settings.Repository
- 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, PROJECT_LEVEL, USER_LEVEL
Fields inherited from class org.apache.maven.settings.BaseObject
childrenTracking, delegate
-
Constructor Summary
ConstructorDescriptionRepository
(Repository delegate) Repository
(Repository delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
protected boolean
static List<Repository>
repositoryToApiV3
(List<Repository> list) static List<Repository>
repositoryToApiV4
(List<Repository> list) void
setReleases
(RepositoryPolicy releases) void
setSnapshots
(RepositoryPolicy snapshots) Methods inherited from class org.apache.maven.settings.RepositoryBase
getLayout, getName, getUrl, repositoryBaseToApiV3, repositoryBaseToApiV4, setLayout, setName, setUrl
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
-
Repository
public Repository() -
Repository
-
Repository
-
-
Method Details
-
clone
- Overrides:
clone
in classRepositoryBase
-
getDelegate
- Overrides:
getDelegate
in classRepositoryBase
-
equals
- Overrides:
equals
in classRepositoryBase
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRepositoryBase
-
getReleases
-
setReleases
-
getSnapshots
-
setSnapshots
-
replace
- Overrides:
replace
in classRepositoryBase
-
repositoryToApiV4
-
repositoryToApiV3
-