|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.osgi.framework.debug.FrameworkDebugOptions
public class FrameworkDebugOptions
The DebugOptions class used by the framework to get debug options from.
Method Summary | |
---|---|
boolean |
getBooleanOption(java.lang.String option,
boolean defaultValue)
Returns the identified option as a boolean value. |
static FrameworkDebugOptions |
getDefault()
Returns the singleton instance of FrameworkDebugOptions . |
int |
getIntegerOption(java.lang.String option,
int defaultValue)
Returns the identified option as an int value. |
java.lang.String |
getOption(java.lang.String option)
Returns the identified option. |
java.lang.String |
getOption(java.lang.String option,
java.lang.String defaultValue)
Returns the identified option. |
void |
setOption(java.lang.String option,
java.lang.String value)
Sets the identified option to the identified value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FrameworkDebugOptions getDefault()
FrameworkDebugOptions
. If
debug is not enabled then null
is returned.
FrameworkDebugOptions
public boolean getBooleanOption(java.lang.String option, boolean defaultValue)
DebugOptions
org.eclipse.core.runtime/debug
getBooleanOption
in interface DebugOptions
option
- the name of the option to lookupdefaultValue
- the value to return if no such option is found
DebugOptions.getBooleanOption(String, boolean)
public java.lang.String getOption(java.lang.String option)
DebugOptions
null
is returned if no such option is found. Options are specified
in the general form <Bundle-SymbolicName>/<option-path>.
For example, org.eclipse.core.runtime/debug
getOption
in interface DebugOptions
option
- the name of the option to lookup
null
DebugOptions.getOption(String)
public java.lang.String getOption(java.lang.String option, java.lang.String defaultValue)
DebugOptions
org.eclipse.core.runtime/debug
getOption
in interface DebugOptions
option
- the name of the option to lookupdefaultValue
- the value to return if no such option is found
DebugOptions.getOption(String, String)
public int getIntegerOption(java.lang.String option, int defaultValue)
DebugOptions
org.eclipse.core.runtime/debug
getIntegerOption
in interface DebugOptions
option
- the name of the option to lookupdefaultValue
- the value to return if no such option is found
DebugOptions.getIntegerOption(String, int)
public void setOption(java.lang.String option, java.lang.String value)
DebugOptions
setOption
in interface DebugOptions
option
- the name of the option to setvalue
- the value of the option to setDebugOptions.setOption(String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |