Class AnnotationActionModuleTypeHelper
java.lang.Object
org.openhab.core.automation.module.provider.AnnotationActionModuleTypeHelper
Helper methods for
AnnotatedActions
ModuleTypeProvider
- Author:
- Stefan Triller - Initial contribution
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable ActionType
buildModuleType
(String uid, Map<String, Set<ModuleInformation>> moduleInformation) @Nullable ModuleInformation
getModuleInformationForIdentifier
(Action module, Map<String, Set<ModuleInformation>> moduleInformation, boolean isThing) parseAnnotations
(Object actionProvider) parseAnnotations
(String name, Object actionProvider)
-
Field Details
-
CONFIG_PARAM
- See Also:
-
-
Constructor Details
-
AnnotationActionModuleTypeHelper
public AnnotationActionModuleTypeHelper()
-
-
Method Details
-
parseAnnotations
-
parseAnnotations
-
buildModuleType
public @Nullable ActionType buildModuleType(String uid, Map<String, Set<ModuleInformation>> moduleInformation) -
getModuleInformationForIdentifier
public @Nullable ModuleInformation getModuleInformationForIdentifier(Action module, Map<String, Set<ModuleInformation>> moduleInformation, boolean isThing)
-