public final class CreateRcScript
extends com.forgerock.opendj.cli.ConsoleApplication
Constructor and Description |
---|
CreateRcScript(PrintStream out,
PrintStream err)
Creates a new application instance with the provided streams.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Parse the command line arguments and create an RC script that can be used to control the server.
|
int |
runCreateRcScript(String[] args)
Parse the command line arguments and create an RC script that can be used to control the server.
|
askConfirmation, askPort, confirmAction, enableConsoleLoggingIfVerbose, errPrint, errPrintln, errPrintln, errPrintln, errPrintlnSurroundedByBlankLines, errPrintVerboseMessage, flushLogStream, getErrorStream, getErrStream, getInputStream, getOutputStream, isInteractive, isMenuDrivenMode, isQuiet, 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 CreateRcScript(PrintStream out, PrintStream err)
out
- The output stream to which standard output should be directed, or null
if standard output
should be suppressed.err
- The output stream to which standard error should be directed, or null
if standard error should
be suppressed.public static void main(String[] args)
args
- The command-line arguments provided to this program.public int runCreateRcScript(String[] args)
args
- The command-line arguments provided to this program.Copyright © 2010–2017 ForgeRock AS. All rights reserved.