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 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, launchGui
public 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()
Launcher
protected void initializeParser()
protected void guiLaunchFailed()
Launcher
guiLaunchFailed
in class Launcher
public com.forgerock.opendj.cli.ArgumentParser getArgumentParser()
Launcher
getArgumentParser
in class Launcher
protected void willLaunchGui()
Launcher
willLaunchGui
in class Launcher
protected CliApplication createCliApplication()
Launcher
createCliApplication
in class Launcher
protected LocalizableMessage getFrameTitle()
Launcher
getFrameTitle
in class Launcher
protected boolean shouldPrintUsage()
Launcher
shouldPrintUsage
in class Launcher
protected boolean isQuiet()
Launcher
protected boolean isNoPrompt()
protected boolean shouldPrintVersion()
Launcher
shouldPrintVersion
in class Launcher
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.