Class BundleInfoImpl
java.lang.Object
org.opencastproject.kernel.bundleinfo.BundleInfoImpl
- All Implemented Interfaces:
BundleInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BundleInfobundleInfo(String host, String bundleSymbolicName, long bundleId, String bundleVersion, Optional<String> buildNumber) static BundleInfobundleInfo(String host, String bundleSymbolicName, long bundleId, String bundleVersion, Optional<String> buildNumber, Optional<String> dbSchemaVersion) Get the build number, e.g. the git hash.longThe bundle id in the OSGi container.The bundle's OSGi symbolic name.The OSGi bundle version.getHost()The host where the bundle lives.The full bundle version which is a tuple ofBundleInfo.getBundleVersion()andBundleInfo.getBuildNumber().
-
Constructor Details
-
BundleInfoImpl
-
-
Method Details
-
bundleInfo
-
bundleInfo
-
getHost
Description copied from interface:BundleInfoThe host where the bundle lives.- Specified by:
getHostin interfaceBundleInfo
-
getBundleSymbolicName
Description copied from interface:BundleInfoThe bundle's OSGi symbolic name.- Specified by:
getBundleSymbolicNamein interfaceBundleInfo
-
getBundleId
public long getBundleId()Description copied from interface:BundleInfoThe bundle id in the OSGi container.- Specified by:
getBundleIdin interfaceBundleInfo
-
getBundleVersion
Description copied from interface:BundleInfoThe OSGi bundle version.- Specified by:
getBundleVersionin interfaceBundleInfo
-
getBuildNumber
Description copied from interface:BundleInfoGet the build number, e.g. the git hash.- Specified by:
getBuildNumberin interfaceBundleInfo
-
getVersion
Description copied from interface:BundleInfoThe full bundle version which is a tuple ofBundleInfo.getBundleVersion()andBundleInfo.getBuildNumber().- Specified by:
getVersionin interfaceBundleInfo
-