1 11 12 package org.eclipse.update.operations; 13 14 import org.eclipse.update.configuration.*; 15 import org.eclipse.update.core.*; 16 17 27 public interface IOperationFactory { 28 34 public IConfigFeatureOperation createConfigOperation( 35 IConfiguredSite targetSite, 36 IFeature feature); 37 38 44 public IUnconfigFeatureOperation createUnconfigOperation( 45 IConfiguredSite targetSite, 46 IFeature feature); 47 48 57 public IInstallFeatureOperation createInstallOperation( 58 IConfiguredSite targetSite, 59 IFeature feature, 60 IFeatureReference[] optionalFeatures, 61 IFeature[] unconfiguredOptionalFeatures, 62 IVerificationListener verifier); 63 64 70 public IUninstallFeatureOperation createUninstallOperation( 71 IConfiguredSite targetSite, 72 IFeature feature); 73 74 80 public IConfigFeatureOperation createReplaceFeatureVersionOperation( 81 IFeature feature, 82 IFeature anotherFeature); 83 84 89 public IBatchOperation createBatchInstallOperation(IInstallFeatureOperation[] operations); 90 91 96 public IToggleSiteOperation createToggleSiteOperation( 97 IConfiguredSite site); 98 99 100 106 public IRevertConfigurationOperation createRevertConfigurationOperation( 107 IInstallConfiguration config, 108 IProblemHandler problemHandler); 109 } 110 | Popular Tags |