Implementing VPP Renderer registration
[groupbasedpolicy.git] / renderers / vpp / src / main / java / org / opendaylight / groupbasedpolicy / renderer / vpp / util / General.java
1 /*
2  * Copyright (c) 2016 Cisco Systems. 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
9 package org.opendaylight.groupbasedpolicy.renderer.vpp.util;
10
11 import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
12 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
13 import org.opendaylight.yangtools.yang.binding.DataObject;
14 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
15
16 public class General {
17
18     /**
19      * Operations that can be executed over ConfigCommand. Operation names reflect operations used
20      * in WriteTransaction.
21      * For more information on these operations, please see the documentation in:
22      * <br>
23      * {@link WriteTransaction#put(LogicalDatastoreType, InstanceIdentifier, DataObject, boolean)}
24      * <br>
25      * {@link WriteTransaction#merge(LogicalDatastoreType, InstanceIdentifier, DataObject, boolean)}
26      * <br>
27      * {@link WriteTransaction#delete(LogicalDatastoreType, InstanceIdentifier)}<br>
28      */
29     public enum Operations {
30         PUT, DELETE, MERGE
31     }
32 }