public final class WaitForFileDelete
extends com.forgerock.opendj.cli.Tool
Constructor and Description |
---|
WaitForFileDelete(OutputStream out,
OutputStream err)
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,
OutputStream outStream,
OutputStream errStream)
Processes the command-line arguments and initiates the process of waiting for the file to be removed.
|
com.forgerock.opendj.cli.ReturnCode |
run(String... args)
Processes the command-line arguments and then waits for the specified file to be removed.
|
askConfirmation, askPort, confirmAction, enableConsoleLoggingIfVerbose, errPrintln, errPrintln, errPrintln, errPrintlnSurroundedByBlankLines, errPrintVerboseMessage, flushLogStream, getErrorStream, getErrStream, getInputStream, getOutputStream, isFullyInteractive, isQuiet, isScriptFriendly, isVerbose, logVerboseMessage, mayPrompt, parseArguments, pressReturnToContinue, print, println, println, println, println, printlnNoWrap, printlnSurroundedByBlankLines, printNoWrap, readInput, readInput, readInputAllowEmpty, readLineOfInput, readPassword, readPassword, readValidatedInput, readValidatedInput, report
public WaitForFileDelete(OutputStream out, OutputStream err)
out
- the print stream to use for standard output.err
- the print stream to use for standard error.public static void main(String[] args)
args
- The command-line arguments provided to this program.public static int mainCLI(String[] args, OutputStream outStream, OutputStream errStream)
args
- The command-line arguments provided to this program.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.public com.forgerock.opendj.cli.ReturnCode run(String... args) throws com.forgerock.opendj.cli.ClientException
run
in class com.forgerock.opendj.cli.Tool
args
- The command-line arguments provided to this program.com.forgerock.opendj.cli.ClientException
- If an error occurs while running the tool.Copyright 2010-2018 ForgeRock AS.