Merge branch 'master' of ../controller
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / Status.java
1 /*
2  * Copyright (c) 2013 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.yangtools.yang.model.api;
9
10 import org.eclipse.jdt.annotation.NonNullByDefault;
11
12 /**
13  * Enumeration describing YANG 'status' statement. If no status is specified, the
14  * default is CURRENT.
15  */
16 @NonNullByDefault
17 public enum Status {
18     /**
19      * CURRENT means that the definition is current and valid.
20      */
21     CURRENT,
22     /**
23      * DEPRECATED indicates an obsolete definition, but it permits new/
24      * continued implementation in order to foster interoperability with
25      * older/existing implementations.
26      */
27     DEPRECATED,
28     /**
29      * OBSOLETE means the definition is obsolete and SHOULD NOT be implemented
30      * and/or can be removed from implementations.
31      */
32     OBSOLETE
33 }