| /******************************************************************************* |
| * Copyright (c) 2007, 2010 Intel Corporation and others. |
| * |
| * This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Intel Corporation - Initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.cdt.make.core.scannerconfig; |
| |
| import java.util.Map; |
| |
| import org.eclipse.core.resources.IProject; |
| import org.eclipse.core.runtime.CoreException; |
| |
| /** |
| * @noextend This class is not intended to be subclassed by clients. |
| * @noimplement This interface is not intended to be implemented by clients. |
| */ |
| public interface IScannerConfigBuilderInfo2Set { |
| /** |
| * |
| * @return InfoContext - to IScannerConfigBuilderInfo2 map |
| */ |
| Map<InfoContext, IScannerConfigBuilderInfo2> getInfoMap(); |
| |
| IScannerConfigBuilderInfo2 getInfo(InfoContext context); |
| |
| IScannerConfigBuilderInfo2 removeInfo(InfoContext context) throws CoreException; |
| |
| InfoContext[] getContexts(); |
| |
| IScannerConfigBuilderInfo2 createInfo(InfoContext context, IScannerConfigBuilderInfo2 base); |
| |
| IScannerConfigBuilderInfo2 createInfo(InfoContext context, IScannerConfigBuilderInfo2 base, String profileId); |
| |
| IScannerConfigBuilderInfo2 createInfo(InfoContext context); |
| |
| IScannerConfigBuilderInfo2 createInfo(InfoContext context, String profileId); |
| |
| void save() throws CoreException; |
| |
| IProject getProject(); |
| } |