org.opendaylight.jsonrpc.provider.cluster.tx.TxPut Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2020 Lumina Networks, Inc. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.jsonrpc.provider.cluster.tx;
import org.opendaylight.jsonrpc.provider.cluster.messages.PathAndDataMsg;
import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
public class TxPut extends TxBase {
private static final long serialVersionUID = 1L;
private final PathAndDataMsg message;
public TxPut(LogicalDatastoreType store, PathAndDataMsg message) {
super(store);
this.message = message;
}
public PathAndDataMsg getMessage() {
return message;
}
@Override
public String toString() {
return "TxPut [message=" + message + ", store=" + store + "]";
}
}