com.bea.jvm
Class DiagnosticCommand.Command

java.lang.Object
  extended by com.bea.jvm.DiagnosticCommand.Command
Enclosing class:
DiagnosticCommand

public class DiagnosticCommand.Command
extends java.lang.Object

This class wraps a named Command in the JVM


Method Summary
 java.lang.String execute()
          Runs this command.
 void execute(java.io.OutputStream os)
          Runs this command.
 java.lang.String execute(java.lang.String params)
          Runs this command with the provided parameters.
 void execute(java.lang.String params, java.io.OutputStream os)
          Runs this command with the provided parameters.
 void executeDefault()
          Runs this command.
 void executeDefault(java.lang.String params)
          Runs this command with the provided parameters.
 java.lang.String getName()
           
 java.lang.String help()
          Returns help for this command as String
 void help(java.io.OutputStream os)
          Prints help to OutputStream
 void helpDefault()
          Prints the help text for this command on default output
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

execute

public java.lang.String execute(java.lang.String params)
Runs this command with the provided parameters.

See Also:
DiagnosticCommand.execute

execute

public java.lang.String execute()
Runs this command.

See Also:
DiagnosticCommand.execute

help

public java.lang.String help()
Returns help for this command as String


executeDefault

public void executeDefault(java.lang.String params)
Runs this command with the provided parameters.

See Also:
DiagnosticCommand.executeDefault

executeDefault

public void executeDefault()
Runs this command.

See Also:
DiagnosticCommand.executeDefault

helpDefault

public void helpDefault()
Prints the help text for this command on default output


execute

public void execute(java.lang.String params,
                    java.io.OutputStream os)
             throws java.io.IOException
Runs this command with the provided parameters.

Throws:
java.io.IOException
See Also:
DiagnosticCommand.execute

execute

public void execute(java.io.OutputStream os)
             throws java.io.IOException
Runs this command.

Throws:
java.io.IOException
See Also:
DiagnosticCommand.execute

help

public void help(java.io.OutputStream os)
          throws java.io.IOException
Prints help to OutputStream

Throws:
java.io.IOException

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006 BEA Systems Inc.