public ComponentMetadata getComponentMetadata() {
return new ComponentMetadataDetailsAdapter(getMetaData());
}
public IvyModuleDescriptor getIvyModuleDescriptor() {
ModuleComponentResolveMetaData metaData = getMetaData();
if (metaData instanceof IvyModuleResolveMetaData) {
IvyModuleResolveMetaData ivyMetadata = (IvyModuleResolveMetaData) metaData;
return new DefaultIvyModuleDescriptor(ivyMetadata.getExtraInfo(), ivyMetadata.getBranch(), ivyMetadata.getStatus());
}
return null;