Package org.apache.maven.model
Class DeploymentRepository
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.RepositoryBase
org.apache.maven.model.Repository
org.apache.maven.model.DeploymentRepository
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
- 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
ConstructorsConstructorDescriptionDeploymentRepository(DeploymentRepository delegate) DeploymentRepository(DeploymentRepository delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()static List<DeploymentRepository>static List<DeploymentRepository>booleangetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()booleanprotected booleanvoidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetUniqueVersion(boolean uniqueVersion) Methods inherited from class org.apache.maven.model.Repository
getReleases, getSnapshots, repositoryToApiV3, repositoryToApiV4, setReleases, setSnapshotsMethods inherited from class org.apache.maven.model.RepositoryBase
getId, getLayout, getName, getUrl, repositoryBaseToApiV3, repositoryBaseToApiV4, setId, setLayout, setName, setUrlMethods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
DeploymentRepository
public DeploymentRepository() -
DeploymentRepository
-
DeploymentRepository
-
-
Method Details
-
clone
- Overrides:
clonein classRepository
-
getDelegate
- Overrides:
getDelegatein classRepository
-
equals
- Overrides:
equalsin classRepository
-
hashCode
public int hashCode()- Overrides:
hashCodein classRepository
-
isUniqueVersion
public boolean isUniqueVersion() -
setUniqueVersion
public void setUniqueVersion(boolean uniqueVersion) -
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Overrides:
getLocationin classRepository- 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.- Specified by:
setLocationin interfaceInputLocationTracker- Overrides:
setLocationin classRepository- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
replace
- Overrides:
replacein classRepository
-
deploymentRepositoryToApiV4
public static List<DeploymentRepository> deploymentRepositoryToApiV4(List<DeploymentRepository> list) -
deploymentRepositoryToApiV3
public static List<DeploymentRepository> deploymentRepositoryToApiV3(List<DeploymentRepository> list)
-