org.apache.directory.server.tools
Class DiagnosticCommand
java.lang.Object
org.apache.directory.server.tools.ToolCommand
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
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 |
getApacheDS, getLayout, getName, getVersion, isDebugEnabled, isQuietEnabled, isVerboseEnabled, setApacheDS, 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 |
PORT_RANGE
public static final java.lang.String PORT_RANGE
- See Also:
- Constant Field Values
DiagnosticCommand
protected DiagnosticCommand()
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.