Package sonia.scm
Interface TypeManager<T extends ModelObject,H extends Handler<T>>
- Type Parameters:
T
- type of the model objectH
- type of the handler
- All Superinterfaces:
AutoCloseable
,Closeable
,HandlerBase<T>
,Initable
,LastModifiedAware
,Manager<T>
- All Known Subinterfaces:
RepositoryManager
- All Known Implementing Classes:
AbstractRepositoryManager
,RepositoryManagerDecorator
Base interface for all type manager classes.
-
Method Summary
Modifier and TypeMethodDescriptiongetHandler
(String type) Returns the handler for given type or null if no handler of that type is available.getTypes()
Returns aCollection
of all available and configured types.Methods inherited from interface sonia.scm.HandlerBase
create, delete, modify
Methods inherited from interface sonia.scm.LastModifiedAware
getLastModified
-
Method Details
-
getHandler
Returns the handler for given type or null if no handler of that type is available.- Parameters:
type
- name of the handler
-
getTypes
Collection<Type> getTypes()Returns aCollection
of all available and configured types.
-