Interface ExtendsDescriptor

All Known Implementing Classes:
DefaultExtendsDescriptor

public interface ExtendsDescriptor
Describes parent descriptor information for a module descriptor.
  • Method Details

    • getParentRevisionId

      ModuleRevisionId getParentRevisionId()
      get the module revision id of the declared parent descriptor
      Returns:
      ModuleRevisionId
    • getResolvedParentRevisionId

      ModuleRevisionId getResolvedParentRevisionId()
      Returns:
      ModuleRevisionId
    • getParentMd

      ModuleDescriptor getParentMd()
    • getLocation

      String getLocation()
      If there is an explicit path to check for the parent descriptor, return it. Otherwise returns null.
      Returns:
      String
    • getExtendsTypes

      String[] getExtendsTypes()
      Get the parts of the parent descriptor that are inherited. Default supported types are info, description, configurations, dependencies, and/or all. Ivy extensions may add support for additional extends types.
      Returns:
      String[]
    • isAllInherited

      boolean isAllInherited()
      Returns:
      true if the all extend type is specified, implying all other types
    • isInfoInherited

      boolean isInfoInherited()
      Returns:
      true if parent info attributes are inherited (organisation, branch, revision, etc)
    • isDescriptionInherited

      boolean isDescriptionInherited()
      Returns:
      true if parent description is inherited
    • areConfigurationsInherited

      boolean areConfigurationsInherited()
      Returns:
      true if parent configurations are inherited
    • areDependenciesInherited

      boolean areDependenciesInherited()
      Returns:
      true if parent dependencies are inherited
    • isLocal

      boolean isLocal()