1 11 package org.eclipse.osgi.internal.resolver; 12 13 import org.eclipse.osgi.service.resolver.PackageSpecification; 14 15 public class PackageSpecificationImpl extends VersionConstraintImpl implements PackageSpecification { 16 private boolean export; 17 18 public boolean isExported() { 19 return export; 20 } 21 22 public void setExport(boolean export) { 23 this.export = export; 24 } 25 26 public String toString() { 27 return super.toString() + " (" + (export ? "exp" : " imp") + ")"; } 29 } | Popular Tags |