Class DsReplCli
- java.lang.Object
-
- com.forgerock.opendj.cli.Tool
-
- org.forgerock.opendj.tools.dsrepl.DsReplCli
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public final class DsReplCli extends com.forgerock.opendj.cli.Tool
Implementation of "dsrepl" command line tool that provides commands for managing replication for a server.This tool is fully non-interactive.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Main method to run this command line tool.com.forgerock.opendj.cli.ReturnCode
run(String... args)
Run thisTool
tool with the provided arguments.-
Methods inherited from class com.forgerock.opendj.cli.Tool
askPort, close, confirmAction, enableConsoleLoggingIfVerbose, errPrintln, errPrintln, errPrintln, errPrintlnSurroundedByBlankLines, errPrintVerboseMessage, flush, flushLogStream, getErrorStream, getErrStream, getInputStream, getOutputStream, isFullyInteractive, isQuiet, isScriptFriendly, isVerbose, logVerboseMessage, mayPrompt, parseArguments, pressReturnToContinue, print, println, println, println, printlnNoWrap, printlnSurroundedByBlankLines, printNoWrap, readInput, readInput, readInputAllowEmpty, readLineOfInput, readPassword, readValidatedInput, readValidatedInputOrThrow, report
-
-
-
-
Method Detail
-
main
public static void main(String[] args)
Main method to run this command line tool.- Parameters:
args
- the arguments passed on the command line.
-
run
public com.forgerock.opendj.cli.ReturnCode run(String... args)
Description copied from class:com.forgerock.opendj.cli.Tool
Run thisTool
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.
- Overrides:
run
in classcom.forgerock.opendj.cli.Tool
- Parameters:
args
- Arguments set to pass to the tool.- Returns:
- The tool
ReturnCode
.
-
-