package org.semanticsoft.vaaclipse.p2.iservice; import java.util.List; import org.eclipse.equinox.p2.core.IProvisioningAgent; import org.eclipse.equinox.p2.metadata.IInstallableUnit; /******************************************************************************* * Copyright (c) 2012 Klevis Ramo 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 * * Contributors: * Klevis Ramo - initial API and implementation *******************************************************************************/ public interface IInstallNewSoftwareService { List<IInstallableUnit> loadRepository(String uriString, IProvisioningAgent agent); String installNewSoftware(List<IInstallableUnit> listIInstallableUnits); String loadAndInstallNewSoftware(String uriString, IProvisioningAgent agent); String validate(List<IInstallableUnit> listIInstallableUnits); List<IInstallableUnit> extractFromCategory(IInstallableUnit category); boolean isCategory(IInstallableUnit installableUnit); }