public static class BundleDependency.Builder extends Object
BundleDependency
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BundleDependency |
build() |
BundleDependency.Builder |
setBundleUri(URI bundleUri) |
BundleDependency.Builder |
setDescriptor(BundleDescriptor descriptor)
This is the descriptor of the bundle.
|
BundleDependency.Builder |
setScope(BundleScope scope)
Sets the scope of the bundle.
|
public BundleDependency.Builder setDescriptor(BundleDescriptor descriptor)
descriptor
- the version of the bundle. Cannot be null or empty.public BundleDependency.Builder setScope(BundleScope scope)
scope
- scope of the bundle. Non nullpublic BundleDependency.Builder setBundleUri(URI bundleUri)
public BundleDependency build()
BundleDescriptor
with the previous provided parameters to the builder.Copyright © 2018. All rights reserved.