/* * Copyright (c) 2015, 2017 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.config.facade.xml.osgi; import java.util.Map; import java.util.Set; import org.opendaylight.controller.config.yangjmxgenerator.ModuleMXBeanEntry; import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.model.api.Module; import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier; public interface YangStoreContext { /** * Yang store context. * * @deprecated Use {@link #getQNamesToIdentitiesToModuleMXBeanEntries()} * instead. This method return only one module representation even * if multiple revisions are available. */ @Deprecated Map> getModuleMXBeanEntryMap(); Map> getQNamesToIdentitiesToModuleMXBeanEntries(); /** * Get all modules discovered when this snapshot was created. * * @return all modules discovered. If one module exists with two different * revisions, return both. */ Set getModules(); String getModuleSource(SourceIdentifier moduleIdentifier); EnumResolver getEnumResolver(); }