Iterable<VersionCatalog>
public interface VersionCatalogsExtension extends Iterable<VersionCatalog>
Modifier and Type | Method | Description |
---|---|---|
Optional<VersionCatalog> |
find(String name) |
Tries to find a catalog with the corresponding name
|
Set<String> |
getCatalogNames() |
Returns the list of catalog names
|
default VersionCatalog |
named(String name) |
Returns the catalog with the supplied name or throws an exception
if it doesn't exist.
|
forEach, iterator, spliterator
Optional<VersionCatalog> find(String name)
name
- the name of the catalogdefault VersionCatalog named(String name)