Class BundleInfo
java.lang.Object
org.apache.felix.webconsole.bundleinfo.BundleInfo
This entity defines additional bundle information entry, that is provided by
the
BundleInfoProvider. Each information entry is featured by name,
value, type and description.- Author:
- Valentin Valchev
-
Constructor Summary
ConstructorsConstructorDescriptionBundleInfo(String name, Object value, BundleInfoType type, String description) Creates a new bundle information entry. -
Method Summary
-
Constructor Details
-
BundleInfo
Creates a new bundle information entry.- Parameters:
name- the name of the entryvalue- the value associated with that entrytype- the type of the valuedescription- additional, user-friendly description for that value.
-
-
Method Details
-
getName
Gets the name of the information entry. The name should be localized according the requested locale.- Returns:
- the name of that information key.
-
getDescription
Gets user-friendly description of the key pair. The description should be localized according the requested locale.- Returns:
- the description for that information key.
-
getValue
Gets the information value.- Returns:
- the value.
-
getType
Gets the type of the information value.- Returns:
- the information type.
-