public class WaitForFileDelete extends com.forgerock.opendj.cli.ConsoleApplication
| Modifier and Type | Field and Description |
|---|---|
static int |
EXIT_CODE_INTERNAL_ERROR
The exit code value that will be used if an internal error occurs within
this program.
|
static int |
EXIT_CODE_SUCCESS
The exit code value that will be used if the target file is deleted
successfully.
|
static int |
EXIT_CODE_TIMEOUT
The exit code value that will be used if a timeout occurs while waiting for
the file to be removed.
|
| Constructor and Description |
|---|
WaitForFileDelete(PrintStream out,
PrintStream err,
InputStream in)
Constructor for the WaitForFileDelete object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAdvancedMode() |
boolean |
isInteractive() |
boolean |
isMenuDrivenMode() |
boolean |
isQuiet() |
boolean |
isScriptFriendly() |
boolean |
isVerbose() |
static void |
main(String[] args)
Processes the command-line arguments and initiates the process of waiting
for the file to be removed.
|
static int |
mainCLI(String[] args,
boolean initializeServer,
OutputStream outStream,
OutputStream errStream,
InputStream inStream)
Processes the command-line arguments and initiates the process of waiting
for the file to be removed.
|
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 final int EXIT_CODE_SUCCESS
public static final int EXIT_CODE_INTERNAL_ERROR
public static final int EXIT_CODE_TIMEOUT
public WaitForFileDelete(PrintStream out, PrintStream err, InputStream in)
out - the print stream to use for standard output.err - the print stream to use for standard error.in - the input stream to use for standard input.public static void main(String[] args)
args - The command-line arguments provided to this program.public static int mainCLI(String[] args, boolean initializeServer, OutputStream outStream, OutputStream errStream, InputStream inStream)
args - The command-line arguments provided to this
program.initializeServer - Indicates whether to initialize the server.outStream - The output stream to use for standard output, or
null if standard output is not
needed.errStream - The output stream to use for standard error, or
null if standard error is not
needed.inStream - The input stream to use for standard input.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.ConsoleApplicationCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.