Package org.openhab.core.transform
Interface TransformationRegistry
- All Superinterfaces:
Registry<Transformation,String>
The
TransformationRegistry is the interface for the transformation registry- Author:
- Jan N. Klug - Initial contribution
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@Nullable TransformationGet a localized version of the transformation for a given UIDgetTransformations(Collection<String> types) Get all transformations which match the given typesMethods inherited from interface org.openhab.core.common.registry.Registry
add, addRegistryChangeListener, get, getAll, remove, removeRegistryChangeListener, stream, update
-
Field Details
-
CONFIG_UID_PATTERN
-
-
Method Details
-
get
Get a localized version of the transformation for a given UID- Parameters:
uid- the configuration UIDlocale- a locale (system locale is used ifnull)- Returns:
- the requested
Transformation(ornullif not found).
-
getTransformations
Get all transformations which match the given types- Parameters:
types- aCollectionof configuration types- Returns:
- a
CollectionofTransformations
-