1 11 package org.eclipse.update.operations; 12 13 import org.eclipse.core.runtime.*; 14 import org.eclipse.update.configuration.*; 15 import org.eclipse.update.core.*; 16 17 28 public interface IOperationValidator { 29 30 34 public IStatus validatePendingInstall(IFeature oldFeature, IFeature newFeature); 35 36 40 public IStatus validatePendingConfig(IFeature feature); 41 42 46 public IStatus validatePendingUnconfig(IFeature feature); 47 48 52 public IStatus validatePendingReplaceVersion(IFeature feature, IFeature anotherFeature); 53 54 58 public IStatus validatePendingRevert(IInstallConfiguration config); 59 60 65 public IStatus validatePendingChanges(IInstallFeatureOperation[] jobs); 66 67 71 public IStatus validateCurrentState(); 72 73 77 public IStatus validatePlatformConfigValid(); 78 } 79 | Popular Tags |