Package org.apache.maven.model
Class DistributionManagement
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.DistributionManagement
- 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
ConstructorDescriptionDistributionManagement
(DistributionManagement delegate) DistributionManagement
(DistributionManagement delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()
static List<DistributionManagement>
static List<DistributionManagement>
boolean
getLocation
(Object key) Gets the location of the specified field in the input source.getSite()
int
hashCode()
protected boolean
void
setDownloadUrl
(String downloadUrl) void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.void
setRelocation
(Relocation relocation) void
setRepository
(DeploymentRepository repository) void
void
setSnapshotRepository
(DeploymentRepository snapshotRepository) void
Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
DistributionManagement
public DistributionManagement() -
DistributionManagement
-
DistributionManagement
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in classBaseObject
-
equals
-
hashCode
public int hashCode() -
getRepository
-
setRepository
-
getSnapshotRepository
-
setSnapshotRepository
-
getSite
-
setSite
-
getDownloadUrl
-
setDownloadUrl
-
getRelocation
-
setRelocation
-
getStatus
-
setStatus
-
getLocation
Description copied from interface:InputLocationTracker
Gets 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
null
if unknown.
-
setLocation
Description copied from interface:InputLocationTracker
Sets 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:
replace
in classBaseObject
-
distributionManagementToApiV4
public static List<DistributionManagement> distributionManagementToApiV4(List<DistributionManagement> list) -
distributionManagementToApiV3
public static List<DistributionManagement> distributionManagementToApiV3(List<DistributionManagement> list)
-