public class BundleBundleVersionInfo extends BundleVersionInfo<org.osgi.framework.Bundle>
BND_LAST_MODIFIED, BND_LAST_MODIFIED_MISSING, SNAPSHOT_MARKER
Constructor and Description |
---|
BundleBundleVersionInfo(org.osgi.framework.Bundle b) |
Modifier and Type | Method and Description |
---|---|
long |
getBundleLastModified()
Return the bundle last modification time, based on the BND_LAST_MODIFIED
manifest header, if available.
|
String |
getBundleSymbolicName() |
org.osgi.framework.Bundle |
getSource() |
org.osgi.framework.Version |
getVersion() |
boolean |
isBundle() |
boolean |
isSnapshot() |
compareTo
public BundleBundleVersionInfo(org.osgi.framework.Bundle b)
public long getBundleLastModified()
BundleVersionInfo
getBundleLastModified
in class BundleVersionInfo<org.osgi.framework.Bundle>
public String getBundleSymbolicName()
getBundleSymbolicName
in class BundleVersionInfo<org.osgi.framework.Bundle>
public org.osgi.framework.Bundle getSource()
getSource
in class BundleVersionInfo<org.osgi.framework.Bundle>
public org.osgi.framework.Version getVersion()
getVersion
in class BundleVersionInfo<org.osgi.framework.Bundle>
public boolean isBundle()
isBundle
in class BundleVersionInfo<org.osgi.framework.Bundle>
public boolean isSnapshot()
isSnapshot
in class BundleVersionInfo<org.osgi.framework.Bundle>
Copyright © 2017 The Apache Software Foundation. All rights reserved.