A B C D E G I N P R S U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractApplication - Class in com.globalmentor.application
-
An abstract implementation of an application that by default is a console application.
- AbstractApplication() - Constructor for class com.globalmentor.application.AbstractApplication
-
No-arguments constructor.
- AbstractApplication(String[]) - Constructor for class com.globalmentor.application.AbstractApplication
-
Arguments constructor.
- AbstractMetadataProvider(Class<? extends Application>) - Constructor for class com.globalmentor.application.BaseCliApplication.AbstractMetadataProvider
-
Application class constructor.
- Application - Interface in com.globalmentor.application
-
A general application.
B
- BaseCliApplication - Class in com.globalmentor.application
-
Base implementation for facilitating creation of a CLI application.
- BaseCliApplication(String[]) - Constructor for class com.globalmentor.application.BaseCliApplication
-
Arguments constructor.
- BaseCliApplication.AbstractMetadataProvider - Class in com.globalmentor.application
-
Strategy for retrieving the application name and version from the configuration.
C
- canExit() - Method in class com.globalmentor.application.AbstractApplication
-
Determines whether the application can exit.
- canStart() - Method in class com.globalmentor.application.AbstractApplication
- canStart() - Method in interface com.globalmentor.application.Application
-
Checks requirements, permissions, and expirations before starting.
- com.globalmentor.application - package com.globalmentor.application
- CONFIG_KEY_NAME - Static variable in class com.globalmentor.application.BaseCliApplication
-
The configuration key containing the version of the program.
- CONFIG_KEY_VERSION - Static variable in class com.globalmentor.application.BaseCliApplication
-
The configuration key containing the version of the program.
D
- displayError(String) - Method in class com.globalmentor.application.AbstractApplication
- displayError(String) - Method in interface com.globalmentor.application.Application
-
Deprecated.
- displayError(String, Throwable) - Method in class com.globalmentor.application.AbstractApplication
- displayError(String, Throwable) - Method in interface com.globalmentor.application.Application
-
Deprecated.
E
- exit() - Method in interface com.globalmentor.application.Application
-
Exits the application with no status.
- exit(int) - Method in class com.globalmentor.application.AbstractApplication
-
Exits the application with the given status.
- exit(int) - Method in interface com.globalmentor.application.Application
-
Exits the application with the given status.
G
- getArgs() - Method in class com.globalmentor.application.AbstractApplication
- getArgs() - Method in interface com.globalmentor.application.Application
- getAuthenticator() - Method in class com.globalmentor.application.AbstractApplication
- getAuthenticator() - Method in interface com.globalmentor.application.Application
- getDisplayErrorMessage(Throwable) - Static method in class com.globalmentor.application.AbstractApplication
-
Constructs a user-presentable error message based on an exception.
- getExpirationDate() - Method in class com.globalmentor.application.AbstractApplication
- getExpirationDate() - Method in interface com.globalmentor.application.Application
- getName() - Method in class com.globalmentor.application.BaseCliApplication
- getPreferences() - Method in class com.globalmentor.application.AbstractApplication
- getPreferences() - Method in interface com.globalmentor.application.Application
-
Returns the application user preferences.
- getVersion() - Method in interface com.globalmentor.application.Application
- getVersion() - Method in class com.globalmentor.application.BaseCliApplication.AbstractMetadataProvider
- getVersion() - Method in class com.globalmentor.application.BaseCliApplication
I
- initialize() - Method in class com.globalmentor.application.AbstractApplication
-
Initializes the application.
- initialize() - Method in interface com.globalmentor.application.Application
-
Initializes the application.
- isDebug() - Method in interface com.globalmentor.application.Application
-
Returns whether debug mode is enabled.
- isDebug() - Method in class com.globalmentor.application.BaseCliApplication
N
- NO_ARGUMENTS - Static variable in interface com.globalmentor.application.Application
-
An array containing no arguments.
P
- performExit(int) - Method in class com.globalmentor.application.AbstractApplication
-
Exits the application with the given status without checking to see if exit should be performed.
R
- run() - Method in class com.globalmentor.application.BaseCliApplication
S
- setAuthenticator(Authenticable) - Method in class com.globalmentor.application.AbstractApplication
-
Sets the authenticator object used to retrieve client authentication.
- setDebug(boolean) - Method in class com.globalmentor.application.BaseCliApplication
-
Enables or disables debug mode, which is disabled by default.
- setExpirationDate(LocalDate) - Method in class com.globalmentor.application.AbstractApplication
-
Sets the expiration date of the application.
- start() - Method in interface com.globalmentor.application.Application
-
Starts the application
- start() - Method in class com.globalmentor.application.BaseCliApplication
- start(Application) - Static method in interface com.globalmentor.application.Application
-
Starts an application.
U
- updateLogLevel() - Method in class com.globalmentor.application.BaseCliApplication
-
Updates the log level based upon the current debug setting.
All Classes All Packages