java.lang.Object
org.eclipse.osgi.internal.resolver.VersionConstraintImpl
org.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
|
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 |
exported
private boolean exported
optional
private boolean optional
BundleSpecificationImpl
public BundleSpecificationImpl()
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