Package org.apache.maven.model
Class RepositoryBase
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.RepositoryBase
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
- Direct Known Subclasses:
Repository
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking -
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate -
Constructor Summary
ConstructorsConstructorDescriptionRepositoryBase(RepositoryBase delegate) RepositoryBase(RepositoryBase delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetId()getLocation(Object key) Gets the location of the specified field in the input source.getName()getUrl()inthashCode()protected booleanstatic List<RepositoryBase>static List<RepositoryBase>voidvoidvoidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidvoidMethods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
RepositoryBase
public RepositoryBase() -
RepositoryBase
-
RepositoryBase
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegatein classBaseObject
-
equals
-
hashCode
public int hashCode() -
getId
-
setId
-
getName
-
setName
-
getUrl
-
setUrl
-
getLayout
-
setLayout
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Parameters:
key- The key of the field, must not benull.- Returns:
- The location of the field in the input source or
nullif unknown.
-
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
replace
- Overrides:
replacein classBaseObject
-
repositoryBaseToApiV4
-
repositoryBaseToApiV3
-