Merge "BUG 652 leafref CCE & BUG 720 colons problem"
[controller.git] / opendaylight / config / config-persister-api / src / main / java / org / opendaylight / controller / config / persist / api / PropertiesProvider.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.controller.config.persist.api;
9
10 public interface PropertiesProvider {
11     /**
12      * Get property value for given key. Implementation of this interface is allowed to prefix
13      * the key with a namespace.
14      */
15     String getProperty(String key);
16
17     /**
18      * @return prefix + key as used in getProperty method.
19      */
20     String getFullKeyForReporting(String key);
21
22     String getPrefix();
23     String getPropertyWithoutPrefix(String fullKey);
24 }