|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.util.cli.ConsoleApplication
org.opends.server.util.cli.ErrorStreamConsoleApplication
public class ErrorStreamConsoleApplication
A console application decorator which redirects all output to the underlying application's error stream.
| Field Summary |
|---|
| Fields inherited from class org.opends.server.util.cli.ConsoleApplication |
|---|
CONFIRMATION_MAX_TRIES |
| Constructor Summary | |
|---|---|
ErrorStreamConsoleApplication(ConsoleApplication app)
Creates a new console application instance which redirects all output to the underlying application's error stream. |
|
| Method Summary | |
|---|---|
boolean |
isAdvancedMode()
Indicates whether or not the user has requested advanced mode. |
boolean |
isInteractive()
Indicates whether or not the user has requested interactive behavior. |
boolean |
isMenuDrivenMode()
Indicates whether or not this console application is running in its menu-driven mode. |
boolean |
isQuiet()
Indicates whether or not the user has requested quiet output. |
boolean |
isScriptFriendly()
Indicates whether or not the user has requested script-friendly output. |
boolean |
isVerbose()
Indicates whether or not the user has requested verbose output. |
| Methods inherited from class org.opends.server.util.cli.ConsoleApplication |
|---|
askConfirmation, confirmAction, createAdministrativeContext, createInitialLdapContextInteracting, getErrorStream, getInputStream, getOutputStream, pressReturnToContinue, print, println, println, println, printlnProgress, printProgress, printVerboseMessage, readInput, readInput, readLineOfInput, readPassword, readPassword, readPort, readValidatedInput, readValidatedInput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorStreamConsoleApplication(ConsoleApplication app)
app - The underlying application console.| Method Detail |
|---|
public boolean isAdvancedMode()
isAdvancedMode in class ConsoleApplicationtrue if the user has requested
advanced mode.public boolean isInteractive()
isInteractive in class ConsoleApplicationtrue if the user has requested
interactive behavior.public boolean isMenuDrivenMode()
isMenuDrivenMode in class ConsoleApplicationtrue if this console application
is running in its menu-driven mode.public boolean isQuiet()
isQuiet in class ConsoleApplicationtrue if the user has requested
quiet output.public boolean isScriptFriendly()
isScriptFriendly in class ConsoleApplicationtrue if the user has requested
script-friendly output.public boolean isVerbose()
isVerbose in class ConsoleApplicationtrue if the user has requested
verbose output.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||