Fix findbugs violations in netconf
[netconf.git] / netconf / netconf-api / src / main / java / org / opendaylight / netconf / api / util / NetconfConstants.java
1 /*
2  * Copyright (c) 2015 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
9 package org.opendaylight.netconf.api.util;
10
11 import com.google.common.collect.ImmutableSet;
12 import java.util.Set;
13
14 /**
15  * These constants mark operation service factories that are auto wired with netconf endpoint
16  * for config subsystem.
17  */
18 public final class NetconfConstants {
19     /*
20      * TODO define marker interface in mapping-api that the serviceFactories in cofing subsystem
21      * will implement so we can check for services with instanceof instead of constants
22      */
23     public static final String SERVICE_NAME = "name";
24     public static final String CONFIG_NETCONF_CONNECTOR = "config-netconf-connector";
25     public static final String NETCONF_MONITORING = "ietf-netconf-monitoring";
26     public static final String NETCONF_NOTIFICATION = "ietf-netconf-notifications";
27
28     public static final Set<String> CONFIG_SERVICE_MARKERS = ImmutableSet.of(SERVICE_NAME, CONFIG_NETCONF_CONNECTOR,
29             NETCONF_MONITORING, NETCONF_NOTIFICATION);
30
31     private NetconfConstants() {
32
33     }
34 }