Feature uses features-parent as parent
[groupbasedpolicy.git] / renderers / opflex / src / main / java / org / opendaylight / groupbasedpolicy / renderer / opflex / mit / OpflexMit.java
1 /*
2  * Copyright (C) 2014 Cisco Systems, Inc.
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  * Authors : Thomas Bachman
9  */
10
11 package org.opendaylight.groupbasedpolicy.renderer.opflex.mit;
12
13 /**
14  * Interface for interacting with the MIT, regardless of the
15  * nature of the actual MIT.
16  *
17  * @author tbachman
18  */
19 public interface OpflexMit {
20
21     /**
22      * Get a ClassInfo object from the MIT by name
23      *
24      * @param name
25      * @return
26      */
27     public PolicyClassInfo getClass(String name);
28
29     /**
30      * Get a ClassInfo object from the MIT by class ID
31      * 
32      * @param classId
33      * @return
34      */
35     public PolicyClassInfo getClass(Long classId);
36
37 }