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()
ExtendsDescriptor
getParentRevisionId
in interface ExtendsDescriptor
public ModuleRevisionId getResolvedParentRevisionId()
ExtendsDescriptor
ExtendsDescriptor.getParentRevisionId()
, see
ModuleDescriptor.getResolvedModuleRevisionId()
getResolvedParentRevisionId
in interface ExtendsDescriptor
public ModuleDescriptor getParentMd()
getParentMd
in interface ExtendsDescriptor
public java.lang.String getLocation()
ExtendsDescriptor
getLocation
in interface ExtendsDescriptor
public java.lang.String[] getExtendsTypes()
ExtendsDescriptor
info
, description
, configurations
,
dependencies
, and/or all
. Ivy extensions may add support for
additional extends types.getExtendsTypes
in interface ExtendsDescriptor
public boolean isAllInherited()
isAllInherited
in interface ExtendsDescriptor
all
extend type is specified, implying all other typespublic boolean isInfoInherited()
isInfoInherited
in interface ExtendsDescriptor
public boolean isDescriptionInherited()
isDescriptionInherited
in interface ExtendsDescriptor
public boolean areConfigurationsInherited()
areConfigurationsInherited
in interface ExtendsDescriptor
public boolean areDependenciesInherited()
areDependenciesInherited
in interface ExtendsDescriptor
public boolean isLocal()
isLocal
in interface ExtendsDescriptor