Class DistributionManagement

java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.DistributionManagement
All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker

@Generated public class DistributionManagement extends BaseObject
See Also:
  • Constructor Details

    • DistributionManagement

      public DistributionManagement()
    • DistributionManagement

      public DistributionManagement(org.apache.maven.api.model.DistributionManagement delegate)
    • DistributionManagement

      public DistributionManagement(org.apache.maven.api.model.DistributionManagement delegate, BaseObject parent)
  • Method Details

    • clone

      public DistributionManagement clone()
      Overrides:
      clone in class Object
    • getDelegate

      public org.apache.maven.api.model.DistributionManagement getDelegate()
      Overrides:
      getDelegate in class BaseObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getRepository

      public DeploymentRepository getRepository()
    • setRepository

      public void setRepository(DeploymentRepository repository)
    • getSnapshotRepository

      public DeploymentRepository getSnapshotRepository()
    • setSnapshotRepository

      public void setSnapshotRepository(DeploymentRepository snapshotRepository)
    • getSite

      public Site getSite()
    • setSite

      public void setSite(Site site)
    • getDownloadUrl

      public String getDownloadUrl()
    • setDownloadUrl

      public void setDownloadUrl(String downloadUrl)
    • getRelocation

      public Relocation getRelocation()
    • setRelocation

      public void setRelocation(Relocation relocation)
    • getStatus

      public String getStatus()
    • setStatus

      public void setStatus(String status)
    • getLocation

      public InputLocation getLocation(Object key)
      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 be null.
      Returns:
      The location of the field in the input source or null if unknown.
    • setLocation

      public void setLocation(Object key, InputLocation location)
      Description copied from interface: InputLocationTracker
      Sets the location of the specified field.
      Parameters:
      key - The key of the field, must not be null.
      location - The location of the field, may be null.
    • getImportedFrom

      public InputLocation getImportedFrom()
    • setImportedFrom

      public void setImportedFrom(InputLocation location)
    • getLocationKeys

      public Set<Object> getLocationKeys()
    • replace

      protected boolean replace(Object oldDelegate, Object newDelegate)
      Overrides:
      replace in class BaseObject
    • distributionManagementToApiV4

      public static List<org.apache.maven.api.model.DistributionManagement> distributionManagementToApiV4(List<DistributionManagement> list)
    • distributionManagementToApiV3

      public static List<DistributionManagement> distributionManagementToApiV3(List<org.apache.maven.api.model.DistributionManagement> list)