public class UninstallLauncher extends Launcher
| Modifier and Type | Field and Description |
|---|---|
static String |
LOG_FILE_PREFIX
Prefix for log files.
|
args, tempLogFile| Constructor and Description |
|---|
UninstallLauncher(String[] args)
Creates a launcher.
|
| Modifier and Type | Method and Description |
|---|---|
protected CliApplication |
createCliApplication()
Creates a CLI application that will be run if the
launcher needs to launch a CLI application.
|
com.forgerock.opendj.cli.ArgumentParser |
getArgumentParser()
Gets an argument parser appropriate for this CLI launcher.
|
protected org.forgerock.i18n.LocalizableMessage |
getFrameTitle()
Gets the frame title of the GUI application that will be used
in some operating systems.
|
protected void |
guiLaunchFailed()
Called if launching of the GUI failed.
|
protected void |
initializeParser()
Initialize the contents of the argument parser.
|
protected boolean |
isCli()
Indicates whether the launcher will launch a command line versus
a graphical application based on the contents of the arguments
passed into the constructor.
|
protected boolean |
isNoPrompt()
Indicates whether the launcher should print a usage statement
based on the content of the arguments passed into the constructor.
|
protected boolean |
isQuiet()
Indicates whether the launcher should print a usage statement
based on the content of the arguments passed into the constructor.
|
void |
launch()
The main method which is called by the command lines.
|
static void |
main(String[] args)
The main method which is called by the uninstall command lines.
|
protected boolean |
shouldPrintUsage()
Indicates whether the launcher should print a usage statement
based on the content of the arguments passed into the constructor.
|
protected boolean |
shouldPrintVersion()
Indicates whether the launcher should print a version statement
based on the content of the arguments passed into the constructor.
|
protected void |
willLaunchGui()
Called before the launcher launches the GUI.
|
getArguments, launchGuipublic static final String LOG_FILE_PREFIX
public UninstallLauncher(String[] args)
args - the arguments passed by the command lines.public static void main(String[] args)
args - the arguments passed by the command lines. In the case
we want to launch the cli setup they are basically the arguments that we
will pass to the org.opends.server.tools.InstallDS class.public void launch()
Launcherprotected void initializeParser()
protected void guiLaunchFailed()
LauncherguiLaunchFailed in class Launcherpublic com.forgerock.opendj.cli.ArgumentParser getArgumentParser()
LaunchergetArgumentParser in class Launcherprotected void willLaunchGui()
LauncherwillLaunchGui in class Launcherprotected CliApplication createCliApplication()
LaunchercreateCliApplication in class Launcherprotected org.forgerock.i18n.LocalizableMessage getFrameTitle()
LaunchergetFrameTitle in class Launcherprotected boolean shouldPrintUsage()
LaunchershouldPrintUsage in class Launcherprotected boolean isQuiet()
Launcherprotected boolean isNoPrompt()
protected boolean shouldPrintVersion()
LaunchershouldPrintVersion in class Launcherprotected boolean isCli()
LauncherCopyright © 2010-2020 Wren Security. All Rights Reserved.