Class BundleInfo
- java.lang.Object
-
- org.apache.felix.webconsole.bundleinfo.BundleInfo
-
@Deprecated(since="2021-04-30") public class BundleInfo extends Object
Deprecated.The Apache Felix Webconsole is not supported in Cloud environments.This entity defines additional bundle information entry, that is provided by theBundleInfoProvider
. Each information entry is featured by name, value, type and description.
-
-
Constructor Summary
Constructors Constructor Description BundleInfo(String name, Object value, BundleInfoType type, String description)
Deprecated.Creates a new bundle information entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDescription()
Deprecated.Gets user-friendly description of the key pair.String
getName()
Deprecated.Gets the name of the information entry.BundleInfoType
getType()
Deprecated.Gets the type of the information value.Object
getValue()
Deprecated.Gets the information value.
-
-
-
Constructor Detail
-
BundleInfo
public BundleInfo(String name, Object value, BundleInfoType type, String description)
Deprecated.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 Detail
-
getName
public String getName()
Deprecated.Gets the name of the information entry. The name should be localized according the requested locale.- Returns:
- the name of that information key.
-
getDescription
public String getDescription()
Deprecated.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
public Object getValue()
Deprecated.Gets the information value.- Returns:
- the value.
-
getType
public BundleInfoType getType()
Deprecated.Gets the type of the information value.- Returns:
- the information type.
-
-