public interface CatalogRegistryModule<T extends CatalogType> extends RegistryModule
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
getAll()
Gets all registered
CatalogTypes registered in this
RegistryModule. |
Optional<T> |
getById(String id)
Gets the desired
CatalogType from the provided String id. |
registerDefaultsOptional<T> getById(String id)
CatalogType from the provided String id.
If a catalog type is not registered for the given id,
Optional.empty() is returned.id - The id of the catalog type requestedCollection<T> getAll()
CatalogTypes registered in this
RegistryModule.