public final class ManageTasks
extends com.forgerock.opendj.cli.InteractiveTool
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
The main method for TaskInfo tool.
|
static int |
mainManageTasks(String[] args,
OutputStream out,
OutputStream err,
boolean initializeServer)
Processes the command-line arguments and invokes the export process.
|
com.forgerock.opendj.cli.ReturnCode |
run(String... args)
Run this
Tool tool with the provided arguments. |
getErrStream, isFullyInteractive
askConfirmation, askPort, confirmAction, enableConsoleLoggingIfVerbose, errPrintln, errPrintln, errPrintln, errPrintlnSurroundedByBlankLines, errPrintVerboseMessage, flushLogStream, getErrorStream, getInputStream, getOutputStream, 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 static void main(String[] args)
args
- The command-line arguments provided to this program.public static int mainManageTasks(String[] args, OutputStream out, OutputStream err, boolean initializeServer)
args
- The command-line arguments provided to thisout
- The output stream to use for standard output, or null
if standard output is not needed.err
- The output stream to use for standard error, or null
if standard error is not needed.initializeServer
- Indicates whether to initialize the server.public com.forgerock.opendj.cli.ReturnCode run(String... args) throws com.forgerock.opendj.cli.ClientException
com.forgerock.opendj.cli.Tool
Tool
tool with the provided arguments.
Output and errors will be written on the provided streams.
This method can be used to run the tool programmatically.
run
in class com.forgerock.opendj.cli.Tool
args
- Arguments set to pass to the tool.ReturnCode
.com.forgerock.opendj.cli.ClientException
- If an error occurs while running the tool.Copyright 2010-2018 ForgeRock AS.