Named
@NonNullApi public interface VersionCatalog extends Named
Named.Namer
Modifier and Type | Method | Description |
---|---|---|
java.util.Optional<Provider<ExternalModuleDependencyBundle>> |
findBundle(java.lang.String alias) |
Returns the provider for the corresponding bundle alias.
|
java.util.Optional<Provider<MinimalExternalModuleDependency>> |
findLibrary(java.lang.String alias) |
Returns the dependency provider for the corresponding library alias.
|
java.util.Optional<Provider<PluginDependency>> |
findPlugin(java.lang.String alias) |
Returns the plugin dependency provider for the requested alias.
|
java.util.Optional<VersionConstraint> |
findVersion(java.lang.String alias) |
Returns the version constraint with the corresponding alias in the catalog.
|
java.util.List<java.lang.String> |
getBundleAliases() |
Returns the list of bundles defined in this version catalog.
|
java.util.List<java.lang.String> |
getLibraryAliases() |
Returns the list of aliases defined in this version catalog.
|
java.util.List<java.lang.String> |
getPluginAliases() |
Returns the list of plugin aliases defined in this version catalog.
|
java.util.List<java.lang.String> |
getVersionAliases() |
Returns the list of version aliases defined in this version catalog.
|
java.util.Optional<Provider<MinimalExternalModuleDependency>> findLibrary(java.lang.String alias)
Note: Alias will be automatically normalized: '-', '_' and '.' will be replaced with '.'
alias
- the alias of the libraryjava.util.Optional<Provider<ExternalModuleDependencyBundle>> findBundle(java.lang.String alias)
Note: Bundle will be automatically normalized: '-', '_' and '.' will be replaced with '.'
alias
- the alias of the bundlejava.util.Optional<VersionConstraint> findVersion(java.lang.String alias)
Note: Alias will be automatically normalized: '-', '_' and '.' will be replaced with '.'
alias
- the alias of the versionjava.util.Optional<Provider<PluginDependency>> findPlugin(java.lang.String alias)
Note: Alias will be automatically normalized: '-', '_' and '.' will be replaced with '.'
alias
- the alias of the pluginjava.util.List<java.lang.String> getLibraryAliases()
Note: Returned aliases are normalized: '-', '_' and '.' have been replaced with '.'
java.util.List<java.lang.String> getBundleAliases()
Note: Returned aliases are normalized: '-', '_' and '.' have been replaced with '.'
java.util.List<java.lang.String> getVersionAliases()
Note: Returned aliases are normalized: '-', '_' and '.' have been replaced with '.'
java.util.List<java.lang.String> getPluginAliases()
Note: Returned aliases are normalized: '-', '_' and '.' have been replaced with '.'