public final class UpgradeCli extends com.forgerock.opendj.cli.ConsoleApplication implements CallbackHandler
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks) |
boolean |
isInteractive() |
boolean |
isQuiet() |
boolean |
isVerbose() |
static void |
main(String[] args)
Provides the command-line arguments to the main application for processing.
|
static int |
main(String[] args,
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, enableConsoleLoggingIfVerbose, errPrint, errPrintln, errPrintln, errPrintln, errPrintlnSurroundedByBlankLines, errPrintVerboseMessage, flushLogStream, getErrorStream, getErrStream, getInputStream, getOutputStream, isMenuDrivenMode, isScriptFriendly, 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)
args
- The set of command-line arguments provided to this program.public static int main(String[] args, OutputStream outStream, OutputStream errStream)
args
- The set of command-line arguments provided to this program.outStream
- The output stream for standard output.errStream
- The output stream for standard error.public boolean isInteractive()
isInteractive
in class com.forgerock.opendj.cli.ConsoleApplication
public boolean isQuiet()
isQuiet
in class com.forgerock.opendj.cli.ConsoleApplication
public boolean isVerbose()
isVerbose
in class com.forgerock.opendj.cli.ConsoleApplication
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
IOException
UnsupportedCallbackException
Copyright © 2010–2017 ForgeRock AS. All rights reserved.