Package org.apache.karaf.shell.util
Class ShellUtil
- java.lang.Object
-
- org.apache.karaf.shell.util.ShellUtil
-
@Deprecated public class ShellUtil extends Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description ShellUtil()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleangetBoolean(org.apache.felix.service.command.CommandSession session, String name)Deprecated.static StringgetBundleName(org.osgi.framework.Bundle bundle)Deprecated.static StringgetCurrentUserName()Deprecated.static StringgetUnderlineString(String s)Deprecated.static StringgetValueString(Object obj)Deprecated.static booleanisASystemBundle(org.osgi.framework.BundleContext bundleContext, org.osgi.framework.Bundle bundle)Deprecated.Check if a bundle is a system bundle (start level minor than 50)static voidlogException(org.apache.felix.service.command.CommandSession session, Throwable t)Deprecated.
-
-
-
Method Detail
-
getBundleName
public static String getBundleName(org.osgi.framework.Bundle bundle)
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.
-
-