com.bluemarsh.jswat.command
Class stopCommand

java.lang.Object
  |
  +--com.bluemarsh.jswat.command.JSwatCommand
        |
        +--com.bluemarsh.jswat.command.stopCommand
Direct Known Subclasses:
clearCommand, enableCommand

public class stopCommand
extends JSwatCommand

Defines the class that handles the 'stop' command.

Author:
Nathan Fiedler

Fields inherited from class com.bluemarsh.jswat.command.JSwatCommand
logCategory, primitiveTypeNames, swat
 
Constructor Summary
stopCommand()
           
 
Method Summary
 void perform(Session session, com.bluemarsh.util.StringTokenizer args, Log out)
          Perform the 'stop' command.
protected  void printBreakList(Session session, Log out)
          Display a list of the breakpoints to the output.
protected  void printBreakpoint(BreakpointManager brkman, Breakpoint bp, Log out)
          Prints the breakpoint specification to the Log.
 
Methods inherited from class com.bluemarsh.jswat.command.JSwatCommand
argumentsMatch, createObject, description, findClassesByPattern, getCommandName, getThreadByID, help, help, missingArgs, receiveInput, resolveOverload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

stopCommand

public stopCommand()
Method Detail

perform

public void perform(Session session,
                    com.bluemarsh.util.StringTokenizer args,
                    Log out)
Perform the 'stop' command.
Overrides:
perform in class JSwatCommand
Parameters:
session - JSwat session on which to operate.
args - Tokenized string of command arguments.
out - Output to write messages to.

printBreakList

protected void printBreakList(Session session,
                              Log out)
Display a list of the breakpoints to the output.
Parameters:
session - JSwat session on which to operate.
out - Output to write messages to.

printBreakpoint

protected void printBreakpoint(BreakpointManager brkman,
                               Breakpoint bp,
                               Log out)
Prints the breakpoint specification to the Log.
Parameters:
brkman - Breakpoint manager.
bp - Breakpoint to print.
out - Log to print to.