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 Details

    • 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