BUG-5280: introduce base Transaction request/success
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / TransactionDelete.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.cluster.access.commands;
9
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
12
13 /**
14  * Delete a particular path.
15  *
16  * @author Robert Varga
17  */
18 @Beta
19 public final class TransactionDelete extends TransactionModification {
20     public TransactionDelete(final YangInstanceIdentifier path) {
21         super(path);
22     }
23
24     @Override
25     byte getType() {
26         return TYPE_DELETE;
27     }
28 }