Enum PluginLang
- java.lang.Object
-
- java.lang.Enum<PluginLang>
-
- com.djrapitops.plan.settings.locale.lang.PluginLang
-
- All Implemented Interfaces:
Lang
,java.io.Serializable
,java.lang.Comparable<PluginLang>
public enum PluginLang extends java.lang.Enum<PluginLang> implements Lang
Lang
implementation for Language that is logged when the plugin enables or disables.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefault()
java.lang.String
getIdentifier()
static PluginLang
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PluginLang[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLED
public static final PluginLang ENABLED
-
ENABLED_WEB_SERVER
public static final PluginLang ENABLED_WEB_SERVER
-
ENABLED_DATABASE
public static final PluginLang ENABLED_DATABASE
-
API_ADD_RESOURCE_JS
public static final PluginLang API_ADD_RESOURCE_JS
-
API_ADD_RESOURCE_CSS
public static final PluginLang API_ADD_RESOURCE_CSS
-
ENABLE_NOTIFY_EMPTY_IP
public static final PluginLang ENABLE_NOTIFY_EMPTY_IP
-
ENABLE_NOTIFY_BAD_IP
public static final PluginLang ENABLE_NOTIFY_BAD_IP
-
ENABLE_NOTIFY_WEB_SERVER_DISABLED
public static final PluginLang ENABLE_NOTIFY_WEB_SERVER_DISABLED
-
ENABLE_NOTIFY_GEOLOCATIONS_INTERNET_REQUIRED
public static final PluginLang ENABLE_NOTIFY_GEOLOCATIONS_INTERNET_REQUIRED
-
ENABLE_NOTIFY_GEOLOCATIONS_DISABLED
public static final PluginLang ENABLE_NOTIFY_GEOLOCATIONS_DISABLED
-
ENABLE_FAIL_DB
public static final PluginLang ENABLE_FAIL_DB
-
ENABLE_FAIL_WRONG_DB
public static final PluginLang ENABLE_FAIL_WRONG_DB
-
ENABLE_FAIL_DB_PATCH
public static final PluginLang ENABLE_FAIL_DB_PATCH
-
ENABLE_FAIL_NO_WEB_SERVER_PROXY
public static final PluginLang ENABLE_FAIL_NO_WEB_SERVER_PROXY
-
ENABLE_FAIL_GEODB_WRITE
public static final PluginLang ENABLE_FAIL_GEODB_WRITE
-
WEB_SERVER_FAIL_PORT_BIND
public static final PluginLang WEB_SERVER_FAIL_PORT_BIND
-
WEB_SERVER_FAIL_SSL_CONTEXT
public static final PluginLang WEB_SERVER_FAIL_SSL_CONTEXT
-
WEB_SERVER_FAIL_STORE_LOAD
public static final PluginLang WEB_SERVER_FAIL_STORE_LOAD
-
WEB_SERVER_FAIL_EMPTY_FILE
public static final PluginLang WEB_SERVER_FAIL_EMPTY_FILE
-
WEB_SERVER_NOTIFY_NO_CERT_FILE
public static final PluginLang WEB_SERVER_NOTIFY_NO_CERT_FILE
-
WEB_SERVER_NOTIFY_HTTP
public static final PluginLang WEB_SERVER_NOTIFY_HTTP
-
WEB_SERVER_NOTIFY_USING_PROXY_MODE
public static final PluginLang WEB_SERVER_NOTIFY_USING_PROXY_MODE
-
WEB_SERVER_NOTIFY_HTTP_USER_AUTH
public static final PluginLang WEB_SERVER_NOTIFY_HTTP_USER_AUTH
-
WEB_SERVER_NOTIFY_HTTPS_USER_AUTH
public static final PluginLang WEB_SERVER_NOTIFY_HTTPS_USER_AUTH
-
WEB_SERVER_NOTIFY_IP_WHITELIST
public static final PluginLang WEB_SERVER_NOTIFY_IP_WHITELIST
-
WEB_SERVER_NOTIFY_IP_WHITELIST_BLOCK
public static final PluginLang WEB_SERVER_NOTIFY_IP_WHITELIST_BLOCK
-
DISABLED
public static final PluginLang DISABLED
-
DISABLED_WEB_SERVER
public static final PluginLang DISABLED_WEB_SERVER
-
DISABLED_PROCESSING
public static final PluginLang DISABLED_PROCESSING
-
DISABLED_PROCESSING_COMPLETE
public static final PluginLang DISABLED_PROCESSING_COMPLETE
-
DISABLED_UNSAVED_SESSIONS
public static final PluginLang DISABLED_UNSAVED_SESSIONS
-
VERSION_NEWEST
public static final PluginLang VERSION_NEWEST
-
VERSION_AVAILABLE
public static final PluginLang VERSION_AVAILABLE
-
VERSION_AVAILABLE_SPIGOT
public static final PluginLang VERSION_AVAILABLE_SPIGOT
-
VERSION_AVAILABLE_DEV
public static final PluginLang VERSION_AVAILABLE_DEV
-
VERSION_FAIL_READ_VERSIONS
public static final PluginLang VERSION_FAIL_READ_VERSIONS
-
VERSION_FAIL_READ_OLD
public static final PluginLang VERSION_FAIL_READ_OLD
-
VERSION_UPDATE
public static final PluginLang VERSION_UPDATE
-
VERSION_UPDATE_AVAILABLE
public static final PluginLang VERSION_UPDATE_AVAILABLE
-
VERSION_UPDATE_INFO
public static final PluginLang VERSION_UPDATE_INFO
-
VERSION_UPDATE_DEV
public static final PluginLang VERSION_UPDATE_DEV
-
VERSION_CHANGE_LOG
public static final PluginLang VERSION_CHANGE_LOG
-
VERSION_DOWNLOAD
public static final PluginLang VERSION_DOWNLOAD
-
VERSION_CURRENT
public static final PluginLang VERSION_CURRENT
-
DB_APPLY_PATCH
public static final PluginLang DB_APPLY_PATCH
-
DB_APPLIED_PATCHES
public static final PluginLang DB_APPLIED_PATCHES
-
DB_APPLIED_PATCHES_ALREADY
public static final PluginLang DB_APPLIED_PATCHES_ALREADY
-
DB_NOTIFY_CLEAN
public static final PluginLang DB_NOTIFY_CLEAN
-
DB_NOTIFY_SQLITE_WAL
public static final PluginLang DB_NOTIFY_SQLITE_WAL
-
DB_MYSQL_LAUNCH_OPTIONS_FAIL
public static final PluginLang DB_MYSQL_LAUNCH_OPTIONS_FAIL
-
-
Method Detail
-
values
public static PluginLang[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PluginLang c : PluginLang.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluginLang valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in interfaceLang
-
getDefault
public java.lang.String getDefault()
- Specified by:
getDefault
in interfaceLang
-
-