org.apache.felix.webconsole.bundleinfo
Class BundleInfo

java.lang.Object
  extended by org.apache.felix.webconsole.bundleinfo.BundleInfo

public class BundleInfo
extends java.lang.Object

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
BundleInfo(java.lang.String name, java.lang.Object value, BundleInfoType type, java.lang.String description)
          Creates a new bundle information entry.
 
Method Summary
 java.lang.String getDescription()
          Gets user-friendly description of the key pair.
 java.lang.String getName()
          Gets the name of the information entry.
 BundleInfoType getType()
          Gets the type of the information value.
 java.lang.Object getValue()
          Gets the information value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleInfo

public BundleInfo(java.lang.String name,
                  java.lang.Object value,
                  BundleInfoType type,
                  java.lang.String description)
Creates a new bundle information entry.

Parameters:
name - the name of the entry
value - the value associated with that entry
type - the type of the value
description - additional, user-friendly description for that value.
Method Detail

getName

public java.lang.String 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

public java.lang.String 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

public java.lang.Object getValue()
Gets the information value.

Returns:
the value.

getType

public BundleInfoType getType()
Gets the type of the information value.

Returns:
the information type.


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.