public final class UpgradeCli extends com.forgerock.opendj.cli.ConsoleApplication implements CallbackHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Callback[] callbacks) |
boolean |
isAdvancedMode() |
boolean |
isInteractive() |
boolean |
isMenuDrivenMode() |
boolean |
isQuiet() |
boolean |
isScriptFriendly() |
boolean |
isVerbose() |
static void |
main(String[] args)
Provides the command-line arguments to the main application for processing.
|
static int |
main(String[] args,
boolean initializeServer,
OutputStream outStream,
OutputStream errStream)
Provides the command-line arguments to the main application for processing
and returns the exit code as an integer.
|
askConfirmation, askPort, confirmAction, errPrint, errPrintln, errPrintln, errPrintln, errPrintVerboseMessage, getErrorStream, getErrStream, getInputStream, getOutputStream, pressReturnToContinue, print, println, println, println, println, printProgressBar, printVerboseMessage, readInput, readInput, readLineOfInput, readPassword, readPassword, readPort, readValidatedInput, readValidatedInputpublic static void main(String[] args)
args - The set of command-line arguments provided to this program.public static int main(String[] args, boolean initializeServer, OutputStream outStream, OutputStream errStream)
args - The set of command-line arguments provided to this program.initializeServer - Indicates whether to perform basic initialization (which should
not be done if the tool is running in the same JVM as the server).outStream - The output stream for standard output.errStream - The output stream for standard error.public boolean isAdvancedMode()
isAdvancedMode in class com.forgerock.opendj.cli.ConsoleApplicationpublic boolean isInteractive()
isInteractive in class com.forgerock.opendj.cli.ConsoleApplicationpublic boolean isMenuDrivenMode()
isMenuDrivenMode in class com.forgerock.opendj.cli.ConsoleApplicationpublic boolean isQuiet()
isQuiet in class com.forgerock.opendj.cli.ConsoleApplicationpublic boolean isScriptFriendly()
isScriptFriendly in class com.forgerock.opendj.cli.ConsoleApplicationpublic boolean isVerbose()
isVerbose in class com.forgerock.opendj.cli.ConsoleApplicationpublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle in interface CallbackHandlerIOExceptionUnsupportedCallbackExceptionCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.