public interface CatalogRegistryModule<T extends CatalogType> extends RegistryModule
Modifier and Type | Method and Description |
---|---|
Collection<T> |
getAll()
Gets all registered
CatalogType s registered in this
RegistryModule . |
Optional<T> |
getById(String id)
Gets the desired
CatalogType from the provided String id. |
registerDefaults
Optional<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()
CatalogType
s registered in this
RegistryModule
.