public class FabBundleInfoImpl extends Object implements FabBundleInfo, VersionResolver
| Constructor and Description |
|---|
FabBundleInfoImpl(FabClassPathResolver classPathResolver,
String fabUri,
Properties instructions,
Configuration configuration,
Map<String,Object> embeddedResources,
io.fabric8.fab.PomDetails pomDetails) |
| Modifier and Type | Method and Description |
|---|---|
Collection<io.fabric8.fab.DependencyTree> |
getBundles()
Get the list of additional required dependencies and bundles
|
Collection<String> |
getFeatures()
Get the list of additional features to be installed for this FAB
|
Collection<URI> |
getFeatureURLs()
Get the list of additional feature URLs to install the required features for this FAB
|
Set<String> |
getImports()
Get the list of imports determined by the FAB resolver process
|
InputStream |
getInputStream()
Access the FAB's input stream
|
Attributes |
getManifest()
Get the computed manifest attributes
|
io.fabric8.fab.PomDetails |
getPomDetails()
Get the POM details for the artifact that we resolved as a FAB
|
String |
getUrl()
Get the original jar url
|
boolean |
isPackageOptional(String packageName) |
String |
resolveExportPackageVersion(String packageName) |
io.fabric8.fab.DependencyTree |
resolvePackageDependency(String packageName) |
protected io.fabric8.fab.DependencyTree |
resolvePackageDependency(String packageName,
List<io.fabric8.fab.DependencyTree> dependencies) |
String |
resolvePackageVersion(String packageName) |
String |
toVersionRange(String version) |
public FabBundleInfoImpl(FabClassPathResolver classPathResolver, String fabUri, Properties instructions, Configuration configuration, Map<String,Object> embeddedResources, io.fabric8.fab.PomDetails pomDetails) throws Exception
Exceptionpublic String getUrl()
FabBundleInfogetUrl in interface FabBundleInfopublic InputStream getInputStream() throws Exception
FabBundleInfogetInputStream in interface FabBundleInfoExceptionpublic Attributes getManifest()
FabBundleInfogetManifest in interface FabBundleInfopublic Set<String> getImports()
FabBundleInfogetImports in interface FabBundleInfopublic Collection<io.fabric8.fab.DependencyTree> getBundles()
FabBundleInfogetBundles in interface FabBundleInfopublic Collection<URI> getFeatureURLs()
FabBundleInfogetFeatureURLs in interface FabBundleInfopublic Collection<String> getFeatures()
FabBundleInfogetFeatures in interface FabBundleInfopublic io.fabric8.fab.PomDetails getPomDetails()
FabBundleInfogetPomDetails in interface FabBundleInfopublic String resolvePackageVersion(String packageName)
resolvePackageVersion in interface VersionResolverpublic String resolveExportPackageVersion(String packageName)
resolveExportPackageVersion in interface VersionResolverpublic boolean isPackageOptional(String packageName)
isPackageOptional in interface VersionResolverpublic io.fabric8.fab.DependencyTree resolvePackageDependency(String packageName)
protected io.fabric8.fab.DependencyTree resolvePackageDependency(String packageName, List<io.fabric8.fab.DependencyTree> dependencies)
Copyright © 2011–2014 Red Hat. All rights reserved.