Class RuleDTOMapper

java.lang.Object
org.openhab.core.automation.dto.RuleDTOMapper

@NonNullByDefault public class RuleDTOMapper extends Object
This is a utility class to convert between the respective object and its DTO.
Author:
Markus Rathgeb - Initial contribution, Kai Kreuzer - Changed to using RuleBuilder
  • Constructor Details

    • RuleDTOMapper

      public RuleDTOMapper()
  • Method Details

    • map

      public static RuleDTO map(Rule rule)
    • map

      public static Rule map(RuleDTO ruleDto)
    • fillProperties

      protected static void fillProperties(Rule from, RuleDTO to)