org.opends.server.admin.client.cli
Class DsFrameworkCliMain

java.lang.Object
  extended by org.opends.server.admin.client.cli.DsFrameworkCliMain

public class DsFrameworkCliMain
extends java.lang.Object

This class provides a tool that can be used to Directory Server framework services.


Constructor Summary
DsFrameworkCliMain(java.io.PrintStream out, java.io.PrintStream err)
          Constructor for the DsFrameworkCLI object.
 
Method Summary
 int execute(java.lang.String[] args, boolean initializeServer)
          Parses the provided command-line arguments and uses that information to run the dsframework tool.
static void main(java.lang.String[] args)
          The main method for dsframework tool.
static int mainCLI(java.lang.String[] args)
          Parses the provided command-line arguments and uses that information to run the dsframework tool.
static int mainCLI(java.lang.String[] args, boolean initializeServer, java.io.OutputStream outStream, java.io.OutputStream errStream)
          Parses the provided command-line arguments and uses that information to run the dsframework tool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DsFrameworkCliMain

public DsFrameworkCliMain(java.io.PrintStream out,
                          java.io.PrintStream err)
Constructor for the DsFrameworkCLI object.

Parameters:
out - The print stream to use for standard output.
err - The print stream to use for standard error.
Method Detail

main

public static void main(java.lang.String[] args)
The main method for dsframework tool.

Parameters:
args - The command-line arguments provided to this program.

mainCLI

public static int mainCLI(java.lang.String[] args)
Parses the provided command-line arguments and uses that information to run the dsframework tool.

Parameters:
args - The command-line arguments provided to this program.
Returns:
The error code.

mainCLI

public static int mainCLI(java.lang.String[] args,
                          boolean initializeServer,
                          java.io.OutputStream outStream,
                          java.io.OutputStream errStream)
Parses the provided command-line arguments and uses that information to run the dsframework tool.

Parameters:
args - The command-line arguments provided to this program.
initializeServer - Indicates whether to initialize the server.
outStream - The output stream to use for standard output, or null if standard output is not needed.
errStream - The output stream to use for standard error, or null if standard error is not needed.
Returns:
The error code.

execute

public int execute(java.lang.String[] args,
                   boolean initializeServer)
Parses the provided command-line arguments and uses that information to run the dsframework tool.

Parameters:
args - The command-line arguments provided to this program.
initializeServer - Indicates whether to initialize the server.
Returns:
The error code.