Class License

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

@Generated public class License extends BaseObject
See Also:
  • Constructor Details Link icon

    • License Link icon

      public License()
    • License Link icon

      public License(License delegate)
    • License Link icon

      public License(License delegate, BaseObject parent)
  • Method Details Link icon

    • clone Link icon

      public License clone()
      Overrides:
      clone in class Object
    • getDelegate Link icon

      public License getDelegate()
      Overrides:
      getDelegate in class BaseObject
    • equals Link icon

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getName Link icon

      public String getName()
    • setName Link icon

      public void setName(String name)
    • getUrl Link icon

      public String getUrl()
    • setUrl Link icon

      public void setUrl(String url)
    • getDistribution Link icon

      public String getDistribution()
    • setDistribution Link icon

      public void setDistribution(String distribution)
    • getComments Link icon

      public String getComments()
    • setComments Link icon

      public void setComments(String comments)
    • getLocation Link icon

      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 Link icon

      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.
    • replace Link icon

      protected boolean replace(Object oldDelegate, Object newDelegate)
      Overrides:
      replace in class BaseObject
    • licenseToApiV4 Link icon

      public static List<License> licenseToApiV4(List<License> list)
    • licenseToApiV3 Link icon

      public static List<License> licenseToApiV3(List<License> list)
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
      See Also: