Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.osgi.internal.resolver
Class BundleSpecificationImpl  view BundleSpecificationImpl download BundleSpecificationImpl.java

java.lang.Object
  extended byorg.eclipse.osgi.internal.resolver.VersionConstraintImpl
      extended byorg.eclipse.osgi.internal.resolver.BundleSpecificationImpl
All Implemented Interfaces:
org.eclipse.osgi.service.resolver.BundleSpecification, java.lang.Cloneable, org.eclipse.osgi.service.resolver.VersionConstraint

public class BundleSpecificationImpl
extends VersionConstraintImpl
implements org.eclipse.osgi.service.resolver.BundleSpecification


Field Summary
private  boolean exported
           
private  boolean optional
           
 
Fields inherited from class org.eclipse.osgi.internal.resolver.VersionConstraintImpl
 
Constructor Summary
BundleSpecificationImpl()
           
 
Method Summary
 boolean isExported()
          Returns whether or not this bundle specificiation is exported from the declaring bundle.
 boolean isOptional()
          Returns whether or not this bundle specificiation is optional.
 void setExported(boolean exported)
           
 void setOptional(boolean optional)
           
 
Methods inherited from class org.eclipse.osgi.internal.resolver.VersionConstraintImpl
getActualVersion, getBundle, getName, getSupplier, getVersionRange, isResolved, isSatisfiedBy, setActualVersion, setBundle, setName, setSupplier, setVersionRange, toString, unresolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.osgi.service.resolver.VersionConstraint
getActualVersion, getBundle, getName, getSupplier, getVersionRange, isResolved, isSatisfiedBy
 

Field Detail

exported

private boolean exported

optional

private boolean optional
Constructor Detail

BundleSpecificationImpl

public BundleSpecificationImpl()
Method Detail

setExported

public void setExported(boolean exported)

setOptional

public void setOptional(boolean optional)

isExported

public boolean isExported()
Description copied from interface: org.eclipse.osgi.service.resolver.BundleSpecification
Returns whether or not this bundle specificiation is exported from the declaring bundle.

Specified by:
isExported in interface org.eclipse.osgi.service.resolver.BundleSpecification

isOptional

public boolean isOptional()
Description copied from interface: org.eclipse.osgi.service.resolver.BundleSpecification
Returns whether or not this bundle specificiation is optional.

Specified by:
isOptional in interface org.eclipse.osgi.service.resolver.BundleSpecification