public class RemoteDebugOptions
extends java.lang.Object
implements org.eclipse.osgi.service.debug.DebugOptionsListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEBUG_REMOTE_COMMANDS |
Modifier and Type | Method and Description |
---|---|
static void |
configure(org.osgi.framework.BundleContext context) |
static boolean |
isDebugging() |
static boolean |
isDebugging(java.lang.String option) |
void |
optionsChanged(org.eclipse.osgi.service.debug.DebugOptions options) |
static void |
setDebugging(java.lang.String option,
boolean value) |
static void |
trace(java.lang.String message)
Prints the given message to System.out and to the OSGi tracing (if enabled)
|
static void |
trace(java.lang.String option,
java.lang.String message,
java.lang.String... arguments)
Prints the given message to System.out and to the OSGi tracing (if enabled)
|
public static final java.lang.String DEBUG_REMOTE_COMMANDS
public static void configure(org.osgi.framework.BundleContext context)
public void optionsChanged(org.eclipse.osgi.service.debug.DebugOptions options)
optionsChanged
in interface org.eclipse.osgi.service.debug.DebugOptionsListener
public static boolean isDebugging()
public static boolean isDebugging(java.lang.String option)
public static void setDebugging(java.lang.String option, boolean value)
public static void trace(java.lang.String message)
message
- the message or null
public static void trace(java.lang.String option, java.lang.String message, java.lang.String... arguments)
option
- the option to determine if tracing is displayedmessage
- the message or null
arguments
- optional arguments for the message or null