public static JmapRuleDTO from(Rule rule) { return new JmapRuleDTO(rule.getId().asString(), rule.getName(), ConditionDTO.from(rule.getCondition()), ActionDTO.from(rule.getAction())); }
public static JmapRuleDTO from(Rule rule) { return new JmapRuleDTO(rule.getId().asString(), rule.getName(), ConditionDTO.from(rule.getCondition()), ActionDTO.from(rule.getAction())); }