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
ConstructorDescriptionDeploymentRepository
(DeploymentRepository delegate) DeploymentRepository
(DeploymentRepository delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()
static List<DeploymentRepository>
static List<DeploymentRepository>
boolean
getLocation
(Object key) Gets the location of the specified field in the input source.int
hashCode()
boolean
protected boolean
void
setImportedFrom
(InputLocation location) void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.void
setUniqueVersion
(boolean uniqueVersion) Methods inherited from class org.apache.maven.model.Repository
getReleases, getSnapshots, repositoryToApiV3, repositoryToApiV4, setReleases, setSnapshots
Methods inherited from class org.apache.maven.model.RepositoryBase
getId, getLayout, getName, getUrl, repositoryBaseToApiV3, repositoryBaseToApiV4, setId, setLayout, setName, setUrl
Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
DeploymentRepository
public DeploymentRepository() -
DeploymentRepository
-
DeploymentRepository
-
-
Method Details
-
clone
- Overrides:
clone
in classRepository
-
getDelegate
- Overrides:
getDelegate
in classRepository
-
equals
- Overrides:
equals
in classRepository
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRepository
-
isUniqueVersion
public boolean isUniqueVersion() -
setUniqueVersion
public void setUniqueVersion(boolean uniqueVersion) -
getLocation
Description copied from interface:InputLocationTracker
Gets the location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
- Overrides:
getLocation
in classRepository
- Parameters:
key
- The key of the field, must not benull
.- Returns:
- The location of the field in the input source or
null
if unknown.
-
setLocation
Description copied from interface:InputLocationTracker
Sets the location of the specified field.- Specified by:
setLocation
in interfaceInputLocationTracker
- Overrides:
setLocation
in classRepository
- Parameters:
key
- The key of the field, must not benull
.location
- The location of the field, may benull
.
-
getImportedFrom
- Overrides:
getImportedFrom
in classRepository
-
setImportedFrom
- Overrides:
setImportedFrom
in classRepository
-
getLocationKeys
- Overrides:
getLocationKeys
in classRepository
-
replace
- Overrides:
replace
in classRepository
-
deploymentRepositoryToApiV4
public static List<DeploymentRepository> deploymentRepositoryToApiV4(List<DeploymentRepository> list) -
deploymentRepositoryToApiV3
public static List<DeploymentRepository> deploymentRepositoryToApiV3(List<DeploymentRepository> list)
-