blob: 8e381c67e23e292703b732a7f653355a6d095c3d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.update.internal.verifier;
import java.util.ArrayList;
import org.eclipse.update.operations.IInstallFeatureOperation;
/**
* Verifier is responsible for checking plan sanity
*/
public abstract class PlanVerifier {
/**
* Verifies provisioning operation of Classic Updater. Checks if feature can
* be installed in an updateable site. Checks if version of already
* installed plug-in is planned to downgraded or if update is safe.
*/
public abstract void verify(IInstallFeatureOperation installOperation,
ArrayList currentFeatures, ArrayList featuresAfterOperation,
ArrayList status);
}