001package org.nuxeo.segment.io; 002 003import java.util.HashMap; 004import java.util.Map; 005 006import org.nuxeo.common.xmap.annotation.XNode; 007import org.nuxeo.common.xmap.annotation.XNodeMap; 008import org.nuxeo.common.xmap.annotation.XObject; 009 010@XObject("segmentio") 011public class SegmentIOConfig { 012 013 @XNode("writeKey") 014 String writeKey; 015 016 @XNodeMap(value = "parameters/parameter", key = "@name", type = HashMap.class, componentType = String.class) 017 Map<String, String> parameters = new HashMap<String, String>(); 018 019}