Named
@Incubating @NonNullApi public interface VersionCatalog extends Named
Named.Namer
Modifier and Type | Method | Description |
---|---|---|
Optional<Provider<ExternalModuleDependencyBundle>> |
findBundle(String bundle) |
Returns the dependency provider for the corresponding bundle.
|
Optional<Provider<MinimalExternalModuleDependency>> |
findDependency(String alias) |
Returns the dependency provider for the corresponding alias.
|
Optional<VersionConstraint> |
findVersion(String name) |
Returns the version constraint with the corresponding name in the catalog.
|
Optional<Provider<MinimalExternalModuleDependency>> findDependency(String alias)
alias
- the alias of the dependencyOptional<Provider<ExternalModuleDependencyBundle>> findBundle(String bundle)
bundle
- the alias of the bundleOptional<VersionConstraint> findVersion(String name)
name
- the name of the version