Package io.wcm.wcm.commons.bundleinfo
Interface BundleInfo
-
- All Superinterfaces:
java.lang.Comparable<BundleInfo>
@ProviderType public interface BundleInfo extends java.lang.Comparable<BundleInfo>
Provides meta-information about an bundle in the system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull org.osgi.framework.Bundle
getBundle()
@Nullable java.util.Date
getLastModified()
@NotNull java.lang.String
getName()
@NotNull BundleState
getState()
@NotNull java.lang.String
getSymbolicName()
@NotNull java.lang.String
getVersion()
boolean
isFragment()
-
-
-
Method Detail
-
getBundle
@NotNull @NotNull org.osgi.framework.Bundle getBundle()
- Returns:
- OSGI bundle
-
getSymbolicName
@NotNull @NotNull java.lang.String getSymbolicName()
- Returns:
- Bundle symbolic name
-
getName
@NotNull @NotNull java.lang.String getName()
- Returns:
- Bundle name (fallback to symbolic name if no name default)
-
getVersion
@NotNull @NotNull java.lang.String getVersion()
- Returns:
- Version string
-
getState
@NotNull @NotNull BundleState getState()
- Returns:
- Bundle state
-
getLastModified
@Nullable @Nullable java.util.Date getLastModified()
- Returns:
- Last modified date
-
isFragment
boolean isFragment()
- Returns:
- true if bundle is a fragment bundle
-
-