1 11 package org.eclipse.osgi.service.resolver; 12 13 14 24 public interface StateHelper { 25 28 public static int ACCESS_ENCOURAGED = 0x01; 29 32 public static int ACCESS_DISCOURAGED = 0x02; 33 34 39 public static int VISIBLE_INCLUDE_EE_PACKAGES = 0x01; 40 41 49 public BundleDescription[] getDependentBundles(BundleDescription[] bundles); 50 51 59 public BundleDescription[] getPrerequisites(BundleDescription[] bundles); 60 61 72 public VersionConstraint[] getUnsatisfiedConstraints(BundleDescription bundle); 73 74 103 public VersionConstraint[] getUnsatisfiedLeaves(BundleDescription[] bundles); 104 105 116 public boolean isResolvable(ImportPackageSpecification specification); 117 118 129 public boolean isResolvable(BundleSpecification specification); 130 131 142 public boolean isResolvable(HostSpecification specification); 143 144 157 public Object [][] sortBundles(BundleDescription[] toSort); 158 159 177 public ExportPackageDescription[] getVisiblePackages(BundleDescription bundle); 178 179 193 public ExportPackageDescription[] getVisiblePackages(BundleDescription bundle, int options); 194 195 204 public int getAccessCode(BundleDescription bundle, ExportPackageDescription export); 205 } 206 | Popular Tags |