public class DefaultExtendsDescriptor extends java.lang.Object implements ExtendsDescriptor
| Constructor and Description |
|---|
DefaultExtendsDescriptor(ModuleDescriptor parent,
java.lang.String location,
java.lang.String[] types) |
DefaultExtendsDescriptor(ModuleDescriptor parent,
java.lang.String location,
java.lang.String[] types,
boolean local) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areConfigurationsInherited() |
boolean |
areDependenciesInherited() |
java.lang.String[] |
getExtendsTypes()
Get the parts of the parent descriptor that are inherited.
|
java.lang.String |
getLocation()
If there is an explicit path to check for the parent descriptor, return it.
|
ModuleDescriptor |
getParentMd() |
ModuleRevisionId |
getParentRevisionId()
get the module revision id of the declared parent descriptor
|
ModuleRevisionId |
getResolvedParentRevisionId()
get the resolved revision id for
ExtendsDescriptor.getParentRevisionId(), see
ModuleDescriptor.getResolvedModuleRevisionId() |
boolean |
isAllInherited() |
boolean |
isDescriptionInherited() |
boolean |
isInfoInherited() |
boolean |
isLocal() |
public DefaultExtendsDescriptor(ModuleDescriptor parent, java.lang.String location, java.lang.String[] types)
public DefaultExtendsDescriptor(ModuleDescriptor parent, java.lang.String location, java.lang.String[] types, boolean local)
public ModuleRevisionId getParentRevisionId()
ExtendsDescriptorgetParentRevisionId in interface ExtendsDescriptorpublic ModuleRevisionId getResolvedParentRevisionId()
ExtendsDescriptorExtendsDescriptor.getParentRevisionId(), see
ModuleDescriptor.getResolvedModuleRevisionId()getResolvedParentRevisionId in interface ExtendsDescriptorpublic ModuleDescriptor getParentMd()
getParentMd in interface ExtendsDescriptorpublic java.lang.String getLocation()
ExtendsDescriptorgetLocation in interface ExtendsDescriptorpublic java.lang.String[] getExtendsTypes()
ExtendsDescriptorinfo, description, configurations,
dependencies, and/or all. Ivy extensions may add support for
additional extends types.getExtendsTypes in interface ExtendsDescriptorpublic boolean isAllInherited()
isAllInherited in interface ExtendsDescriptorall extend type is specified, implying all other typespublic boolean isInfoInherited()
isInfoInherited in interface ExtendsDescriptorpublic boolean isDescriptionInherited()
isDescriptionInherited in interface ExtendsDescriptorpublic boolean areConfigurationsInherited()
areConfigurationsInherited in interface ExtendsDescriptorpublic boolean areDependenciesInherited()
areDependenciesInherited in interface ExtendsDescriptorpublic boolean isLocal()
isLocal in interface ExtendsDescriptor