Class AnnotationActionModuleTypeHelper
java.lang.Object
org.openhab.core.automation.module.provider.AnnotationActionModuleTypeHelper
Helper methods for
AnnotatedActions
ModuleTypeProvider
- Author:
- Stefan Triller - Initial contribution, Florian Hotze - Added configuration description parameters for thing modules, Added method signature hash to module ID in case of method overloads, Laurent Garnier - Converted into a an OSGi component
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable ActionType
buildModuleType
(String uid, Map<String, Set<ModuleInformation>> moduleInformation) getModuleIdFromMethod
(String actionScope, Method method) @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
-
-
Method Details
-
parseAnnotations
-
parseAnnotations
-
getModuleIdFromMethod
-
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)
-