Interface ExtendsDescriptor
- All Known Implementing Classes:
DefaultExtendsDescriptor
public interface ExtendsDescriptor
Describes parent descriptor information for a module descriptor.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
String[]
Get the parts of the parent descriptor that are inherited.If there is an explicit path to check for the parent descriptor, return it.get the module revision id of the declared parent descriptorget the resolved revision id forgetParentRevisionId()
, seeModuleDescriptor.getResolvedModuleRevisionId()
boolean
boolean
boolean
boolean
isLocal()
-
Method Details
-
getParentRevisionId
ModuleRevisionId getParentRevisionId()get the module revision id of the declared parent descriptor- Returns:
- ModuleRevisionId
-
getResolvedParentRevisionId
ModuleRevisionId getResolvedParentRevisionId()get the resolved revision id forgetParentRevisionId()
, seeModuleDescriptor.getResolvedModuleRevisionId()
- 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 areinfo
,description
,configurations
,dependencies
, and/orall
. 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()
-