Package org.openhab.core.thing.profiles
Interface ProfileTypeProvider
- All Known Implementing Classes:
ScriptProfileFactory
@NonNullByDefault
public interface ProfileTypeProvider
A
ProfileTypeProvider
is responsible for providing ProfileType
s.- Author:
- Simon Kaufmann - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptiongetProfileTypes
(@Nullable Locale locale) Returns all profile types for the givenLocale
.
-
Method Details
-
getProfileTypes
Returns all profile types for the givenLocale
.- Parameters:
locale
- (can be null)- Returns:
- all profile types or empty list if no profile type exists
-