public class ManageTasks extends com.forgerock.opendj.cli.ConsoleApplication
Constructor and Description |
---|
ManageTasks(InputStream in,
OutputStream out,
OutputStream err)
Constructs a parameterized instance.
|
Modifier and Type | Method and Description |
---|---|
TaskClient |
getTaskClient()
Gets the client that can be used to interact with the task backend.
|
boolean |
isAdvancedMode() |
boolean |
isInteractive() |
boolean |
isMenuDrivenMode() |
boolean |
isQuiet() |
boolean |
isScriptFriendly() |
boolean |
isVerbose() |
static void |
main(String[] args)
The main method for TaskInfo tool.
|
static int |
mainTaskInfo(String[] args)
Processes the command-line arguments and invokes the process for
displaying task information.
|
static int |
mainTaskInfo(String[] args,
InputStream in,
OutputStream out,
OutputStream err)
Processes the command-line arguments and invokes the export process.
|
static int |
mainTaskInfo(String[] args,
InputStream in,
OutputStream out,
OutputStream err,
boolean initializeServer)
Processes the command-line arguments and invokes the export process.
|
int |
process(String[] args)
Processes the command-line arguments and invokes the export process.
|
int |
process(String[] args,
boolean initializeServer)
Processes the command-line arguments and invokes the export process.
|
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 ManageTasks(InputStream in, OutputStream out, OutputStream err)
in
- Input stream from which to solicit user input.out
- 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.public static void main(String[] args)
args
- The command-line arguments provided to this program.public static int mainTaskInfo(String[] args)
args
- The command-line arguments provided to this program.public static int mainTaskInfo(String[] args, InputStream in, OutputStream out, OutputStream err, boolean initializeServer)
args
- The command-line arguments provided to thisin
- Input stream from which to solicit user input.out
- 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 static int mainTaskInfo(String[] args, InputStream in, OutputStream out, OutputStream err)
args
- The command-line arguments provided to thisin
- Input stream from which to solicit user input.out
- 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.public int process(String[] args)
args
- The command-line arguments provided to this
program.public int process(String[] args, boolean initializeServer)
args
- The command-line arguments provided to this
program.initializeServer
- Indicates whether to initialize the server.public boolean isAdvancedMode()
isAdvancedMode
in class com.forgerock.opendj.cli.ConsoleApplication
public boolean isInteractive()
isInteractive
in class com.forgerock.opendj.cli.ConsoleApplication
public boolean isMenuDrivenMode()
isMenuDrivenMode
in class com.forgerock.opendj.cli.ConsoleApplication
public boolean isQuiet()
isQuiet
in class com.forgerock.opendj.cli.ConsoleApplication
public boolean isScriptFriendly()
isScriptFriendly
in class com.forgerock.opendj.cli.ConsoleApplication
public boolean isVerbose()
isVerbose
in class com.forgerock.opendj.cli.ConsoleApplication
public TaskClient getTaskClient()
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.