public class UninstallCliHelper extends com.forgerock.opendj.cli.ConsoleApplication
Constructor and Description |
---|
UninstallCliHelper()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
UninstallUserData |
createUserData(UninstallerArgumentParser args)
Creates a UserData based in the arguments provided.
|
boolean |
isAdvancedMode()
Indicates whether the user has requested advanced mode.
|
boolean |
isInteractive()
Indicates whether the user has requested interactive behavior.
|
boolean |
isMenuDrivenMode()
Indicates whether this console application is running in its menu-driven mode.
|
boolean |
isQuiet()
Indicates whether the user has requested quiet output.
|
boolean |
isScriptFriendly()
Indicates whether the user has requested script-friendly output.
|
boolean |
isVerbose()
Indicates whether the user has requested verbose output.
|
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, readValidatedInput
public UninstallCliHelper()
public UninstallUserData createUserData(UninstallerArgumentParser args) throws UserDataException, com.forgerock.opendj.cli.ClientException
args
- the ArgumentParser with the allowed arguments of the command line.
The code assumes that the arguments have already been parsed.UserDataException
- if there is an error with the data in the arguments.com.forgerock.opendj.cli.ClientException
- If there is an error processing data in non-interactive mode and
an error must be thrown (not in force on error mode).public boolean isAdvancedMode()
com.forgerock.opendj.cli.ConsoleApplication
isAdvancedMode
in class com.forgerock.opendj.cli.ConsoleApplication
true
if the user has requested advanced mode.public boolean isInteractive()
com.forgerock.opendj.cli.ConsoleApplication
true
.isInteractive
in class com.forgerock.opendj.cli.ConsoleApplication
true
if the user has requested interactive behavior.public boolean isMenuDrivenMode()
com.forgerock.opendj.cli.ConsoleApplication
isMenuDrivenMode
in class com.forgerock.opendj.cli.ConsoleApplication
true
if this console application is running in its menu-driven mode.public boolean isQuiet()
com.forgerock.opendj.cli.ConsoleApplication
false
.isQuiet
in class com.forgerock.opendj.cli.ConsoleApplication
true
if the user has requested quiet output.public boolean isScriptFriendly()
com.forgerock.opendj.cli.ConsoleApplication
false
.isScriptFriendly
in class com.forgerock.opendj.cli.ConsoleApplication
true
if the user has requested script-friendly output.public boolean isVerbose()
com.forgerock.opendj.cli.ConsoleApplication
false
.isVerbose
in class com.forgerock.opendj.cli.ConsoleApplication
true
if the user has requested verbose output.Copyright 2010-2017 ForgeRock AS.