- All Superinterfaces:
Describable
Registry interface.
- Version:
- $Id: $Id
- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
Method Summary
Modifier and TypeMethodDescriptionall()all.allByIoType(IOType ioType) allByIoType.allByProvider(Class<P> providerClass) allByProvider.allByProvider(String providerId) allByProvider.allByProvider(String providerId, Class<T> ioClass) allByProvider.allByType.default Descriptordescribe()describe.booleanexists.booleanexists.<T extends IO>
Tget.<T extends IO>
Tget.
-
Method Details
-
exists
exists.
-
exists
exists.
- Parameters:
id- aStringobject.- Returns:
- a boolean.
-
all
all.
- Returns:
- a
Mapobject.
-
get
get.
- Type Parameters:
T- a T object.- Parameters:
id- aStringobject.- Returns:
- a T object.
- Throws:
IOInvalidIDException- if any.IONotFoundException- if any.
-
get
get.
- Type Parameters:
T- a T object.- Parameters:
id- aStringobject.type- aClassobject.- Returns:
- a T object.
- Throws:
IOInvalidIDException- if any.IONotFoundException- if any.
-
allByType
allByType.
-
allByIoType
allByIoType.
-
allByProvider
allByProvider.
-
allByProvider
allByProvider.
-
allByProvider
default <P extends Provider,T extends IO> Map<String,T> allByProvider(String providerId, Class<T> ioClass) allByProvider.
-
describe
describe.
- Specified by:
describein interfaceDescribable- Returns:
- a
Descriptorobject.
-