public interface UnitConfigCollectionProvider
| Modifier and Type | Method and Description |
|---|---|
Boolean |
containsUnitConfigById(String unitConfigId) |
rst.domotic.unit.UnitConfigType.UnitConfig |
getUnitConfigById(String unitConfigId) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigs() |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigs(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type)
Method returns a list of all globally registered units of the given
type. |
List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigs() throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionBoolean containsUnitConfigById(String unitConfigId) throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionrst.domotic.unit.UnitConfigType.UnitConfig getUnitConfigById(String unitConfigId) throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionList<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigs(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type) throws org.openbase.jul.exception.CouldNotPerformException
type.
Note: The type UnitType.UNKNOWN is used as wildcard and will return a list of all registered units.
type - the unit type to filter.org.openbase.jul.exception.CouldNotPerformException - is thrown in case something goes wrong during the request.Copyright © 2014–2018 openbase.org. All rights reserved.