Revert "Checkstyle enforcer"
[controller.git] / opendaylight / containermanager / api / src / main / java / org / opendaylight / controller / containermanager / IContainerManager.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.containermanager;
11
12 import java.util.List;
13
14 import org.opendaylight.controller.sal.utils.Status;
15
16 /**
17  * Container Manager interface
18  *
19  *
20  */
21 public interface IContainerManager {
22
23     /**
24      * Returns a list of Containers that currently exist.
25      *
26      * @return  array of String Container names
27      */
28     public boolean hasNonDefaultContainer();
29
30     /**
31      * Returns a list of Containers that currently exist.
32      *
33      * @return  array of String Container names
34      */
35     public List<String> getContainerNames();
36
37     /**
38      * Save the current container configuration to disk.
39      * TODO : REMOVE THIS FUNCTION and make Save as a service rather than the
40      * current hack of calling individual save routines.
41      *
42      * @return  status code
43      */
44     public Status saveContainerConfig();
45 }