Class RepositoryBase

java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.RepositoryBase
All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker
Direct Known Subclasses:
Repository

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

    • RepositoryBase

      public RepositoryBase()
    • RepositoryBase

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

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

    • clone

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

      public org.apache.maven.api.model.RepositoryBase 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
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getLayout

      public String getLayout()
    • setLayout

      public void setLayout(String layout)
    • 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
    • repositoryBaseToApiV4

      public static List<org.apache.maven.api.model.RepositoryBase> repositoryBaseToApiV4(List<RepositoryBase> list)
    • repositoryBaseToApiV3

      public static List<RepositoryBase> repositoryBaseToApiV3(List<org.apache.maven.api.model.RepositoryBase> list)