ReverseReplication.java 965 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.day.cq.replication;

import com.day.cq.replication.ReplicationAction;
import com.day.cq.replication.ReplicationContent;

import java.util.HashMap;
import java.util.Map;

public class ReverseReplication {
    public static final String PROP_OUTBOX_ITEM_PATH = "outbox.item.path";
    private ReplicationContent content;
    private ReplicationAction action;
    private Map<String, String> properties;

    public ReverseReplication(ReplicationContent content, ReplicationAction action) {
        this.content = content;
        this.action = action;
    }

    public ReplicationContent getContent() {
        return this.content;
    }

    public ReplicationAction getAction() {
        return this.action;
    }

    public Map<String, String> getProperties() {
        if (this.properties == null) {
            this.properties = new HashMap<String, String>();
        }
        return this.properties;
    }
}