public final class StopDs
extends com.forgerock.opendj.cli.ConsoleApplication
Modifier and Type | Method and Description |
---|---|
boolean |
isQuiet() |
static void |
main(String[] args)
Invokes the
stopDS method, passing it the provided command line arguments. |
static int |
mainStopDs(String[] args,
OutputStream out,
OutputStream err)
Parses the provided set of command-line arguments and attempts to contact the Directory Server in order to send
it the shutdown request.
|
askConfirmation, askPort, confirmAction, enableConsoleLoggingIfVerbose, errPrint, errPrintln, errPrintln, errPrintln, errPrintlnSurroundedByBlankLines, errPrintVerboseMessage, flushLogStream, getErrorStream, getErrStream, getInputStream, getOutputStream, isInteractive, isMenuDrivenMode, isScriptFriendly, isVerbose, logVerboseMessage, pressReturnToContinue, print, println, println, println, println, printlnNoWrap, printlnSurroundedByBlankLines, printNoWrap, printProgressBar, printVerboseMessage, readInput, readInput, readInputAllowEmpty, readLineOfInput, readPassword, readPassword, readPort, readValidatedInput, readValidatedInput, report, run
public static void main(String[] args)
stopDS
method, passing it the provided command line arguments. If the call to
stopDS
returns a nonzero value, then that will be used as the exit code for this program.args
- The command-line arguments provided to this program.public static int mainStopDs(String[] args, OutputStream out, OutputStream err)
args
- The command-line arguments provided to this program.out
- The output stream to use for standard output, or null
if standard output is not needed.err
- The output stream to use for standard error, or null
if standard error is not needed.public boolean isQuiet()
isQuiet
in class com.forgerock.opendj.cli.ConsoleApplication
Copyright © 2010–2017 ForgeRock AS. All rights reserved.