- java.lang.Object
-
- com.ibm.java.diagnostics.utils.Context
-
- com.ibm.java.diagnostics.utils.DTFJContext
-
- All Implemented Interfaces:
IContext
,IDTFJContext
,PluginLoader
- Direct Known Subclasses:
CombinedContext
,EmptyDTFJContext
public class DTFJContext extends Context implements IDTFJContext, PluginLoader
A DTFJ context within which a DTFJ command executes
-
-
Field Summary
-
Fields declared in class com.ibm.java.diagnostics.utils.Context
commands, globalCommands, lastException, lastExecutedCommand, loader, logger
-
-
Constructor Summary
Constructors Constructor Description DTFJContext(int major, int minor, Image image, ImageAddressSpace space, ImageProcess proc, JavaRuntime rt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasPropertyBeenSet(String name)
Used to determine if a property has been set in the context property bag, and that the value of that property is TRUEvoid
refresh()
Refresh this context.-
Methods declared in class com.ibm.java.diagnostics.utils.Context
addGlobalCommandsToContext, getCommandNames, getPluginManager
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.java.diagnostics.utils.IContext
execute, execute, execute, getCommands, getLastCommandException, getLastExecutedCommand, getPluginClassloader, getProperties, isCommandRecognised
-
Methods declared in interface com.ibm.java.diagnostics.utils.IDTFJContext
getAddressSpace, getImage, getMajorVersion, getMinorVersion, getProcess, getRuntime
-
Methods declared in interface com.ibm.java.diagnostics.utils.plugins.PluginLoader
getPluginFailures, getPlugins, loadPlugins
-
-
-
-
Constructor Detail
-
DTFJContext
public DTFJContext(int major, int minor, Image image, ImageAddressSpace space, ImageProcess proc, JavaRuntime rt)
-
-
Method Detail
-
hasPropertyBeenSet
public boolean hasPropertyBeenSet(String name)
Used to determine if a property has been set in the context property bag, and that the value of that property is TRUE- Specified by:
hasPropertyBeenSet
in interfaceIDTFJContext
- Parameters:
name
- property name to check- Returns:
- true if the property exists and Boolean.parseValue() returns true
-
-