Package io.polywrap.configBuilder
Class Bundle.Item
-
- All Implemented Interfaces:
public final class Bundle.ItemA Bundle.Item is a WrapPackage and additional configuration to be added to the Polywrap Client Configuration. This may include interface implementations, URI redirects, and/or a WrapEnv.
If a WrapPackage is not provided, the Polywrap Client will attempt to resolve the Uri.
Note that users can override values when configuring the Polywrap Client.
-
-
Field Summary
Fields Modifier and Type Field Description private final Uriuriprivate final WrapPackagepkgprivate final List<Uri>implementsprivate final List<Uri>redirectFromprivate final Map<String, Object>env
-
Constructor Summary
Constructors Constructor Description Bundle.Item(Uri uri, WrapPackage pkg, List<Uri> implements, List<Uri> redirectFrom, Map<String, Object> env)
-
Method Summary
Modifier and Type Method Description final UrigetUri()final WrapPackagegetPkg()final List<Uri>getImplements()final List<Uri>getRedirectFrom()final Map<String, Object>getEnv()-
-
Constructor Detail
-
Bundle.Item
Bundle.Item(Uri uri, WrapPackage pkg, List<Uri> implements, List<Uri> redirectFrom, Map<String, Object> env)
- Parameters:
uri- The primary Uri that will resolve to pkg.pkg- The WrapPackage.implements- A list of interfaces that pkg implements.redirectFrom- A list of Uris that will redirect to uri.env- A default WrapEnv for pkg.
-
-
Method Detail
-
getPkg
final WrapPackage getPkg()
-
getImplements
final List<Uri> getImplements()
-
getRedirectFrom
final List<Uri> getRedirectFrom()
-
-
-
-