Class DSConfig
- java.lang.Object
-
- com.forgerock.opendj.cli.ConsoleApplication
-
- org.forgerock.opendj.config.dsconfig.DSConfig
-
public final class DSConfig extends com.forgerock.opendj.cli.ConsoleApplicationThis class provides a command-line tool which enables administrators to configure the Directory Server.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCUSTOM_TYPEThe type name which will be used for the most generic managed object types when they are instantiable and intended for customization only.static StringGENERIC_TYPEThe type name which will be used for the most generic managed object types when they are instantiable and not intended for customization.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAdvancedMode()booleanisInteractive()booleanisMenuDrivenMode()booleanisQuiet()booleanisScriptFriendly()booleanisVerbose()static voidmain(String[] args)Provides the command-line arguments to the main application for processing.static intmain(String[] args, OutputStream outStream, OutputStream errStream)Provides the command-line arguments to the main application for processing and returns the exit code as an integer.-
Methods inherited from class com.forgerock.opendj.cli.ConsoleApplication
askConfirmation, askPort, confirmAction, errPrint, errPrintln, errPrintln, errPrintln, errPrintVerboseMessage, getErrorStream, getErrStream, getInputStream, getOutputStream, pressReturnToContinue, print, println, println, println, println, printlnNoWrap, printProgressBar, printVerboseMessage, readInput, readInput, readLineOfInput, readPassword, readPassword, readPort, readValidatedInput, readValidatedInput
-
-
-
-
Field Detail
-
CUSTOM_TYPE
public static final String CUSTOM_TYPE
The type name which will be used for the most generic managed object types when they are instantiable and intended for customization only.- See Also:
- Constant Field Values
-
GENERIC_TYPE
public static final String GENERIC_TYPE
The type name which will be used for the most generic managed object types when they are instantiable and not intended for customization.- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args)
Provides the command-line arguments to the main application for processing.- Parameters:
args- The set of command-line arguments provided to this program.
-
main
public static int main(String[] args, OutputStream outStream, OutputStream errStream)
Provides the command-line arguments to the main application for processing and returns the exit code as an integer.- Parameters:
args- The set of command-line arguments provided to this program.outStream- The output stream for standard output.errStream- The output stream for standard error.- Returns:
- Zero to indicate that the program completed successfully, or non-zero to indicate that an error occurred.
-
isAdvancedMode
public boolean isAdvancedMode()
- Overrides:
isAdvancedModein classcom.forgerock.opendj.cli.ConsoleApplication
-
isInteractive
public boolean isInteractive()
- Overrides:
isInteractivein classcom.forgerock.opendj.cli.ConsoleApplication
-
isMenuDrivenMode
public boolean isMenuDrivenMode()
- Overrides:
isMenuDrivenModein classcom.forgerock.opendj.cli.ConsoleApplication
-
isQuiet
public boolean isQuiet()
- Overrides:
isQuietin classcom.forgerock.opendj.cli.ConsoleApplication
-
isScriptFriendly
public boolean isScriptFriendly()
- Overrides:
isScriptFriendlyin classcom.forgerock.opendj.cli.ConsoleApplication
-
isVerbose
public boolean isVerbose()
- Overrides:
isVerbosein classcom.forgerock.opendj.cli.ConsoleApplication
-
-