Class BundleInfoType


  • @Deprecated(since="2021-04-30")
    public final class BundleInfoType
    extends java.lang.Object
    Deprecated.
    The Apache Felix Webconsole is not supported in Cloud environments.
    This pre-java 5 enum defines all valid bundle information value types.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static BundleInfoType LINK
      Deprecated.
      Specifies that the value is String and is either a link to a local Servlet, or link to external HTTP server.
      static BundleInfoType RESOURCE
      Deprecated.
      This information type, specifies that the value of the information is URL object, that points to a resource.
      static BundleInfoType VALUE
      Deprecated.
      That information type is for normal information keys, that provide a normal (not link) value as information.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Deprecated.
      Returns the name of the type.
      void validate​(java.lang.Object value)
      Deprecated.
      That method is used to validate if the object is correct for the specified type.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LINK

        public static final BundleInfoType LINK
        Deprecated.
        Specifies that the value is String and is either a link to a local Servlet, or link to external HTTP server. In case the link starts with <protocol>:// the link will be considered as external. Otherwise the link should be absolute link to a local Servlet and must always start with /. for security reasons, the protocol cannot be file for external links.
      • RESOURCE

        public static final BundleInfoType RESOURCE
        Deprecated.
        This information type, specifies that the value of the information is URL object, that points to a resource. In that case the UI could consider that as a download link.
      • VALUE

        public static final BundleInfoType VALUE
        Deprecated.
        That information type is for normal information keys, that provide a normal (not link) value as information. The type of the value is Object and UI will visualize it by using it's Object.toString() method.
    • Method Detail

      • getName

        public final java.lang.String getName()
        Deprecated.
        Returns the name of the type.
        Returns:
        the type name
      • validate

        public final void validate​(java.lang.Object value)
        Deprecated.
        That method is used to validate if the object is correct for the specified type.
        Parameters:
        value - the value that will be validated.