Added assert operation as per RFC 7047 section 5.2.10
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / operations / Assert.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
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  * Authors : Madhu Venugopal
9  */
10 package org.opendaylight.ovsdb.lib.operations;
11
12
13 public class Assert extends Operation {
14
15     public static final String ASSERT = "assert";
16     String lock;
17
18     public Assert(String lock) {
19         super(null, ASSERT);
20         this.lock = lock;
21     }
22
23     public String getLock() {
24         return lock;
25     }
26 }