Remove ResolveEnumUtil
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / rests / utils / RestconfStreamsConstants.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.restconf.nb.rfc8040.rests.utils;
9
10 /**
11  * Constants for streams.
12  */
13 public final class RestconfStreamsConstants {
14     public static final String STREAM_PATH_PARAM_NAME = "path";
15     public static final String DATASTORE_PARAM_NAME = "datastore";
16     public static final String SCOPE_PARAM_NAME = "scope";
17     public static final String OUTPUT_TYPE_PARAM_NAME = "notification-output-type";
18
19     public static final String DS_URI = '/' + DATASTORE_PARAM_NAME + '=';
20     public static final String SCOPE_URI = '/' + SCOPE_PARAM_NAME + '=';
21
22     public static final String DATA_SUBSCRIPTION = "data-change-event-subscription";
23     public static final String CREATE_DATA_SUBSCRIPTION = "create-" + DATA_SUBSCRIPTION;
24     public static final String NOTIFICATION_STREAM = "notification-stream";
25     public static final String CREATE_NOTIFICATION_STREAM = "create-" + NOTIFICATION_STREAM;
26
27     public static final String STREAMS_PATH = "ietf-restconf-monitoring:restconf-state/streams";
28     public static final String STREAM_PATH_PART = "/stream=";
29     public static final String STREAM_PATH = STREAMS_PATH + STREAM_PATH_PART;
30     public static final String STREAM_ACCESS_PATH_PART = "/access=";
31     public static final String STREAM_LOCATION_PATH_PART = "/location";
32
33     public static final String DATA_CHANGE_EVENT_STREAM_PATTERN = '/' + DATA_SUBSCRIPTION + "/*";
34     public static final String YANG_NOTIFICATION_STREAM_PATTERN = '/' + NOTIFICATION_STREAM + "/*";
35
36     private RestconfStreamsConstants() {
37         throw new UnsupportedOperationException("Util class.");
38     }
39 }