Class ShellUtil

    • Constructor Detail

      • ShellUtil

        public ShellUtil()
        Deprecated.
    • Method Detail

      • getBundleName

        public static String getBundleName​(org.osgi.framework.Bundle bundle)
        Deprecated.
      • getUnderlineString

        public static String getUnderlineString​(String s)
        Deprecated.
      • getValueString

        public static String getValueString​(Object obj)
        Deprecated.
      • isASystemBundle

        public static boolean isASystemBundle​(org.osgi.framework.BundleContext bundleContext,
                                              org.osgi.framework.Bundle bundle)
        Deprecated.
        Check if a bundle is a system bundle (start level minor than 50)
        Parameters:
        bundleContext - The bundle context.
        bundle - The bundle to check.
        Returns:
        True if the bundle has start level minor than 50, false else.
      • getBoolean

        public static boolean getBoolean​(org.apache.felix.service.command.CommandSession session,
                                         String name)
        Deprecated.
      • logException

        public static void logException​(org.apache.felix.service.command.CommandSession session,
                                        Throwable t)
        Deprecated.
      • getCurrentUserName

        public static String getCurrentUserName()
        Deprecated.