Fix checkstyle issues to enforce it
[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      * Get full key reporting.
19      *
20      * @return prefix + key as used in getProperty method.
21      */
22     String getFullKeyForReporting(String key);
23
24     String getPrefix();
25
26     String getPropertyWithoutPrefix(String fullKey);
27 }