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 |
---|---|
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, enableConsoleLoggingIfVerbose, errPrint, errPrintln, errPrintln, errPrintln, errPrintlnSurroundedByBlankLines, errPrintVerboseMessage, flushLogStream, getErrorStream, getErrStream, getInputStream, getOutputStream, isInteractive, isMenuDrivenMode, isPromptingForTrust, 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 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.Copyright 2010-2020 ForgeRock AS.