Class BuildFlagsCommand
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Command
com.ibm.j9ddr.vm29.tools.ddrinteractive.commands.BuildFlagsCommand
- All Implemented Interfaces:
ICommand
Runs DDR extension !buildflags command.
The build flags command will print all of the build flags used to compile the jvm. Optionally
it will print all buildflags which match a pattern.
-
Nested Class Summary
Nested classes/interfaces declared in class Command
Command.CommandDescription -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(String command, String[] args, Context context, PrintStream out) Run method for !Methods declared in class Command
addCommand, addSubCommand, dbgFindPatternInRange, getCommandDescriptions, getCommandNames, printDetailedHelp, recognisesModifier and TypeMethodDescriptionaddCommand(String name, String argDescription, String helpDescription) voidaddSubCommand(Command.CommandDescription command, String name, String argDescription, String helpDescription) protected longdbgFindPatternInRange(Context context, byte[] pattern, int patternAlignment, long startSearchFrom, BigInteger bytesToSearch) voidThis prints the detailed help for the command by listing all the names that this command can be invoked by and also any sub commands that have been defined.booleanrecognises(String command, Context context) Method used by the DDR Interactive engine to decide whether this command matches the command passed in by the user
-
Constructor Details
-
BuildFlagsCommand
public BuildFlagsCommand()Create a new instance of the BuildFlagsCommand
-
-
Method Details
-
run
public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException Run method for !j9buildflags extension.- Parameters:
command- !j9buildflagsargs- Args passed by !j9buildflags extension.context- Context of current core file.out- PrintStream to print the output to.- Throws:
DDRInteractiveCommandException
-