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 BaseObject
BaseObject.ChildrenTracking -
Field Summary
Fields inherited from class BaseObject
childrenTracking, delegate -
Constructor Summary
ConstructorsConstructorDescriptionDeploymentRepository(org.apache.maven.api.model.DeploymentRepository delegate) DeploymentRepository(org.apache.maven.api.model.DeploymentRepository delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()static List<DeploymentRepository> deploymentRepositoryToApiV3(List<org.apache.maven.api.model.DeploymentRepository> list) static List<org.apache.maven.api.model.DeploymentRepository> booleanorg.apache.maven.api.model.DeploymentRepositorygetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()booleanprotected booleanvoidsetImportedFrom(InputLocation location) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetUniqueVersion(boolean uniqueVersion) Methods inherited from class Repository
getReleases, getSnapshots, repositoryToApiV3, repositoryToApiV4, setReleases, setSnapshotsMethods inherited from class RepositoryBase
getId, getLayout, getName, getUrl, repositoryBaseToApiV3, repositoryBaseToApiV4, setId, setLayout, setName, setUrlMethods inherited from class BaseObject
update
-
Constructor Details
-
DeploymentRepository
public DeploymentRepository() -
DeploymentRepository
public DeploymentRepository(org.apache.maven.api.model.DeploymentRepository delegate) -
DeploymentRepository
public DeploymentRepository(org.apache.maven.api.model.DeploymentRepository delegate, BaseObject parent)
-
-
Method Details
-
clone
- Overrides:
clonein classRepository
-
getDelegate
public org.apache.maven.api.model.DeploymentRepository 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.
-
getImportedFrom
- Overrides:
getImportedFromin classRepository
-
setImportedFrom
- Overrides:
setImportedFromin classRepository
-
getLocationKeys
- Overrides:
getLocationKeysin classRepository
-
replace
- Overrides:
replacein classRepository
-
deploymentRepositoryToApiV4
public static List<org.apache.maven.api.model.DeploymentRepository> deploymentRepositoryToApiV4(List<DeploymentRepository> list) -
deploymentRepositoryToApiV3
public static List<DeploymentRepository> deploymentRepositoryToApiV3(List<org.apache.maven.api.model.DeploymentRepository> list)
-