Commit operation as per Section 5.2.7 of RFC 7047
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / operations / Commit.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 Commit extends Operation {
14
15     public static final String COMMIT = "commit";
16     Boolean durable;
17
18     public Commit(Boolean durable) {
19         super(null, COMMIT);
20         this.durable = durable;
21     }
22
23     public Boolean isDurable() {
24         return durable;
25     }
26 }