1 11 package org.eclipse.osgi.internal.module; 12 13 import org.eclipse.osgi.service.resolver.BaseDescription; 14 import org.eclipse.osgi.service.resolver.BundleDescription; 15 import org.osgi.framework.Version; 16 17 20 public abstract class VersionSupplier { 21 BaseDescription base; 22 boolean dropped = false; 23 24 VersionSupplier(BaseDescription base) { 25 this.base = base; 26 } 27 28 public Version getVersion() { 29 return base.getVersion(); 30 } 31 32 public String getName() { 33 return base.getName(); 34 } 35 36 public BaseDescription getBaseDescription() { 37 return base; 38 } 39 40 boolean isDropped() { 42 return dropped; 43 } 44 45 void setDropped(boolean dropped) { 48 this.dropped = dropped; 49 } 50 51 54 abstract public BundleDescription getBundle(); 55 56 public String toString() { 57 return base.toString(); 58 } 59 } 60 | Popular Tags |