Package org.apache.maven.model
Class Repository
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.RepositoryBase
org.apache.maven.model.Repository
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- Direct Known Subclasses:
- DeploymentRepository
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.maven.model.BaseObjectBaseObject.ChildrenTracking
- 
Field SummaryFields inherited from class org.apache.maven.model.BaseObjectchildrenTracking, delegate
- 
Constructor SummaryConstructorsConstructorDescriptionRepository(Repository delegate) Repository(Repository delegate, BaseObject parent) 
- 
Method SummaryModifier and TypeMethodDescriptionclone()booleangetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()protected booleanstatic List<Repository>repositoryToApiV3(List<Repository> list) static List<Repository>repositoryToApiV4(List<Repository> list) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetReleases(RepositoryPolicy releases) voidsetSnapshots(RepositoryPolicy snapshots) Methods inherited from class org.apache.maven.model.RepositoryBasegetId, getLayout, getName, getUrl, repositoryBaseToApiV3, repositoryBaseToApiV4, setId, setLayout, setName, setUrlMethods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Constructor Details- 
Repositorypublic Repository()
- 
Repository
- 
Repository
 
- 
- 
Method Details- 
clone- Overrides:
- clonein class- RepositoryBase
 
- 
getDelegate- Overrides:
- getDelegatein class- RepositoryBase
 
- 
equals- Overrides:
- equalsin class- RepositoryBase
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- RepositoryBase
 
- 
getReleases
- 
setReleases
- 
getSnapshots
- 
setSnapshots
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Overrides:
- getLocationin class- RepositoryBase
- Parameters:
- key- The key of the field, must not be- null.
- Returns:
- The location of the field in the input source or
 nullif unknown.
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Overrides:
- setLocationin class- RepositoryBase
- Parameters:
- key- The key of the field, must not be- null.
- location- The location of the field, may be- null.
 
- 
replace- Overrides:
- replacein class- RepositoryBase
 
- 
repositoryToApiV4
- 
repositoryToApiV3
 
-