blob: 6d2f4df168b96e56e41eb01a99de88b6be39ae51 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2022 IBM 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:
* IBM Corporation - initial API and implementation
* EclipseSource Corporation - ongoing enhancements
*******************************************************************************/
package org.eclipse.pde.internal.launching.launcher;
import java.util.Set;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.pde.core.plugin.IPluginModelBase;
public class OSGiValidationOperation extends LaunchValidationOperation {
public OSGiValidationOperation(ILaunchConfiguration configuration) {
super(configuration);
}
@Override
protected Set<IPluginModelBase> getModels() throws CoreException {
return BundleLauncherHelper.getMergedBundleMap(fLaunchConfiguration, true).keySet();
}
}