Package org.openhab.core.automation.dto
Class RuleTemplateDTOMapper
java.lang.Object
org.openhab.core.automation.dto.RuleTemplateDTOMapper
This is a utility class to convert between the Rule Templates and RuleTemplateDTO objects.
- Author:
- Ana Dimova - Initial contribution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
fillProperties
(RuleTemplate from, RuleTemplateDTO to) static RuleTemplate
map
(RuleTemplateDTO ruleTemplateDto) static RuleTemplateDTO
map
(RuleTemplate template)
-
Constructor Details
-
RuleTemplateDTOMapper
public RuleTemplateDTOMapper()
-
-
Method Details
-
map
-
map
-
fillProperties
-