Interface ExtendsDescriptor
-
- All Known Implementing Classes:
DefaultExtendsDescriptor
public interface ExtendsDescriptorDescribes parent descriptor information for a module descriptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanareConfigurationsInherited()booleanareDependenciesInherited()java.lang.String[]getExtendsTypes()Get the parts of the parent descriptor that are inherited.java.lang.StringgetLocation()If there is an explicit path to check for the parent descriptor, return it.ModuleDescriptorgetParentMd()ModuleRevisionIdgetParentRevisionId()get the module revision id of the declared parent descriptorModuleRevisionIdgetResolvedParentRevisionId()get the resolved revision id forgetParentRevisionId(), seeModuleDescriptor.getResolvedModuleRevisionId()booleanisAllInherited()booleanisDescriptionInherited()booleanisInfoInherited()booleanisLocal()
-
-
-
Method Detail
-
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
java.lang.String getLocation()
If there is an explicit path to check for the parent descriptor, return it. Otherwise returns null.- Returns:
- String
-
getExtendsTypes
java.lang.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
allextend 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()
-
-