Bug 1029: Remove dead code: samples/clustersession
[controller.git] / opendaylight / adsal / configuration / api / src / main / java / org / opendaylight / controller / configuration / IConfigurationContainerService.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.configuration;
11
12 /**
13  * Container configuration service
14  */
15 public interface IConfigurationContainerService extends IConfigurationServiceCommon {
16
17     /**
18      * This function returns the path to the configuration directory of the
19      * current container.
20      *
21      * @return The path to active container's configuration directory
22      */
23     public String getConfigurationRoot();
24
25     /**
26      * Function checks whether there exists a saved configuration for this
27      * container (This is essentially checking whether the container's root
28      * configuration directory exists)
29      *
30      * @return True iff container config has been saved at least once
31      */
32     public boolean hasBeenSaved();
33
34 }