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
-
Method Summary
Modifier and TypeMethodDescription@Nullable Transformation
Get 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
(ornull
if not found).
-
getTransformations
Get all transformations which match the given types- Parameters:
types
- aCollection
of configuration types- Returns:
- a
Collection
ofTransformation
s
-