org.apache.directory.server.tools
Class DiagnosticCommand

java.lang.Object
  extended by org.apache.directory.server.tools.ToolCommand
      extended by org.apache.directory.server.tools.DiagnosticCommand

public class DiagnosticCommand
extends ToolCommand

A command to send an extened request which launches a diagnostic UI on the server's console. This may not work unless the display is set and access is granted to the display (via xhost +). This is especially the case when running the server in daemon mode. Usually when running the server in debug mode is when you want the diagnostics turned on.

Version:
$Rev: 434420 $
Author:
Apache Directory Project

Field Summary
static java.lang.String PORT_RANGE
           
 
Constructor Summary
protected DiagnosticCommand()
           
 
Method Summary
 void execute(org.apache.commons.cli.CommandLine cmd)
           
 org.apache.commons.cli.Options getOptions()
           
 
Methods inherited from class org.apache.directory.server.tools.ToolCommand
getConfiguration, getLayout, getName, getVersion, isDebugEnabled, isQuietEnabled, isVerboseEnabled, setConfiguration, setDebugEnabled, setLayout, setLayout, setLayout, setQuietEnabled, setVerboseEnabled, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PORT_RANGE

public static final java.lang.String PORT_RANGE
See Also:
Constant Field Values
Constructor Detail

DiagnosticCommand

protected DiagnosticCommand()
Method Detail

execute

public void execute(org.apache.commons.cli.CommandLine cmd)
             throws java.lang.Exception
Specified by:
execute in class ToolCommand
Throws:
java.lang.Exception

getOptions

public org.apache.commons.cli.Options getOptions()
Specified by:
getOptions in class ToolCommand


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.