public final class DsConfig
extends com.forgerock.opendj.cli.InteractiveTool
Modifier and Type | Method and Description |
---|---|
boolean |
isQuiet()
Indicates whether the user has requested quiet output.
|
boolean |
isScriptFriendly()
Indicates whether the user has requested script-friendly output.
|
boolean |
isVerbose()
Indicates whether the user has requested verbose output.
|
static void |
main(String[] args)
Provides the command-line arguments to the main tool for processing.
|
static int |
main(String[] args,
InputStream inStream,
OutputStream outStream,
OutputStream errStream)
Provides the command-line arguments to the main tool for processing and returns the exit code as an
integer.
|
static int |
main(String[] args,
OutputStream outStream,
OutputStream errStream)
Provides the command-line arguments to the main tool for processing and returns the exit code as an
integer.
|
com.forgerock.opendj.cli.ReturnCode |
run(String... args)
Parses the provided command-line arguments and makes the appropriate changes to the Directory Server
configuration.
|
getErrStream, isFullyInteractive
askConfirmation, askPort, confirmAction, enableConsoleLoggingIfVerbose, errPrintln, errPrintln, errPrintln, errPrintlnSurroundedByBlankLines, errPrintVerboseMessage, flushLogStream, getErrorStream, getInputStream, getOutputStream, logVerboseMessage, mayPrompt, parseArguments, pressReturnToContinue, print, println, println, println, println, printlnNoWrap, printlnSurroundedByBlankLines, printNoWrap, readInput, readInput, readInputAllowEmpty, readLineOfInput, readPassword, readPassword, readValidatedInput, readValidatedInput, report
public static void main(String[] args)
args
- The set of command-line arguments provided to this program.public static int main(String[] args, OutputStream outStream, OutputStream errStream)
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.public static int main(String[] args, InputStream inStream, OutputStream outStream, OutputStream errStream)
args
- The set of command-line arguments provided to this program.inStream
- The input stream for standard input.outStream
- The output stream for standard output.errStream
- The output stream for standard error.public boolean isQuiet()
com.forgerock.opendj.cli.Tool
false
.isQuiet
in class com.forgerock.opendj.cli.Tool
true
if the user has requested quiet output.public boolean isScriptFriendly()
com.forgerock.opendj.cli.Tool
false
.isScriptFriendly
in class com.forgerock.opendj.cli.Tool
true
if the user has requested script-friendly output.public boolean isVerbose()
com.forgerock.opendj.cli.Tool
false
.isVerbose
in class com.forgerock.opendj.cli.Tool
true
if the user has requested verbose output.public com.forgerock.opendj.cli.ReturnCode run(String... args) throws com.forgerock.opendj.cli.ClientException
run
in class com.forgerock.opendj.cli.Tool
args
- The command-line arguments provided to this program.com.forgerock.opendj.cli.ClientException
- If an error occurs during the tool executionCopyright 2010-2018 ForgeRock AS.