Module openj9.dtfj

Class Command

    • Field Detail

      • nl

        protected static final String nl
    • Constructor Detail

      • Command

        public Command()
    • Method Detail

      • addCommand

        public Command.CommandDescription addCommand​(String name,
                                                     String argDescription,
                                                     String helpDescription)
        Parameters:
        name - Command Name
        argDescription - Brief name of any optional or required arguments
        helpDescription - One-liner Description of the command argDescription should be a word describing the argument name. e.g:
        to specify an address argument that is mandatory [address] to specify an address argument that is optional
      • printDetailedHelp

        public void printDetailedHelp​(PrintStream out)
        This 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.
        Parameters:
        out - stream to write the output on
      • dbgFindPatternInRange

        protected long dbgFindPatternInRange​(Context context,
                                             byte[] pattern,
                                             int patternAlignment,
                                             long startSearchFrom,
                                             BigInteger bytesToSearch)
                                      throws MemoryFault
        Throws:
        MemoryFault