Package org.forgerock.opendj.setup.cli
Class SetupCli
- java.lang.Object
-
- org.forgerock.opendj.setup.cli.SetupCli
-
public final class SetupCli extends Object
OpenDJ Setup command line tool main class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
The main method which is called by the setup or the setup.bat scripts.static com.forgerock.opendj.cli.ReturnCode
runSetup(PrintStream outStream, PrintStream errStream, String... args)
The main method to be called by unit tests.
-
-
-
Method Detail
-
main
public static void main(String[] args)
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
-
-