Package org.forgerock.opendj.setup.cli
Class SetupCli
java.lang.Object
org.forgerock.opendj.setup.cli.SetupCli
OpenDJ Setup command line tool main class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidThe main method which is called by the setup or the setup.bat scripts.static com.forgerock.opendj.cli.ReturnCoderunSetup(PrintStream outStream, PrintStream errStream, String... args) The main method to be called by unit tests.
-
Method Details
-
main
The main method which is called by the setup or the setup.bat scripts.- Parameters:
args- the arguments passed on the command line.
-
runSetup
public static com.forgerock.opendj.cli.ReturnCode runSetup(PrintStream outStream, PrintStream errStream, String... args) The main method to be called by unit tests.- Parameters:
outStream- the output stream.errStream- the error stream.args- the arguments for the tool.- Returns:
- the execution result of the tool
-