public enum PluginLang extends java.lang.Enum<PluginLang> implements Lang
Lang
implementation for Language that is logged when the plugin enables or disables.Modifier and Type | Method and 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.
|
public static final PluginLang ENABLED
public static final PluginLang ENABLED_WEB_SERVER
public static final PluginLang ENABLED_DATABASE
public static final PluginLang API_ADD_RESOURCE_JS
public static final PluginLang API_ADD_RESOURCE_CSS
public static final PluginLang ENABLE_NOTIFY_EMPTY_IP
public static final PluginLang ENABLE_NOTIFY_BAD_IP
public static final PluginLang ENABLE_NOTIFY_WEB_SERVER_DISABLED
public static final PluginLang ENABLE_NOTIFY_GEOLOCATIONS_INTERNET_REQUIRED
public static final PluginLang ENABLE_NOTIFY_GEOLOCATIONS_DISABLED
public static final PluginLang ENABLE_FAIL_DB
public static final PluginLang ENABLE_FAIL_WRONG_DB
public static final PluginLang ENABLE_FAIL_DB_PATCH
public static final PluginLang ENABLE_FAIL_NO_WEB_SERVER_PROXY
public static final PluginLang ENABLE_FAIL_GEODB_WRITE
public static final PluginLang WEB_SERVER_FAIL_PORT_BIND
public static final PluginLang WEB_SERVER_FAIL_SSL_CONTEXT
public static final PluginLang WEB_SERVER_FAIL_STORE_LOAD
public static final PluginLang WEB_SERVER_FAIL_EMPTY_FILE
public static final PluginLang WEB_SERVER_NOTIFY_NO_CERT_FILE
public static final PluginLang WEB_SERVER_NOTIFY_HTTP
public static final PluginLang WEB_SERVER_NOTIFY_USING_PROXY_MODE
public static final PluginLang WEB_SERVER_NOTIFY_HTTP_USER_AUTH
public static final PluginLang WEB_SERVER_NOTIFY_HTTPS_USER_AUTH
public static final PluginLang WEB_SERVER_NOTIFY_IP_WHITELIST
public static final PluginLang WEB_SERVER_NOTIFY_IP_WHITELIST_BLOCK
public static final PluginLang DISABLED
public static final PluginLang DISABLED_WEB_SERVER
public static final PluginLang DISABLED_PROCESSING
public static final PluginLang DISABLED_PROCESSING_COMPLETE
public static final PluginLang DISABLED_UNSAVED_SESSIONS
public static final PluginLang VERSION_NEWEST
public static final PluginLang VERSION_AVAILABLE
public static final PluginLang VERSION_AVAILABLE_SPIGOT
public static final PluginLang VERSION_AVAILABLE_DEV
public static final PluginLang VERSION_FAIL_READ_VERSIONS
public static final PluginLang VERSION_FAIL_READ_OLD
public static final PluginLang DB_APPLY_PATCH
public static final PluginLang DB_APPLIED_PATCHES
public static final PluginLang DB_APPLIED_PATCHES_ALREADY
public static final PluginLang DB_NOTIFY_CLEAN
public static final PluginLang DB_NOTIFY_SQLITE_WAL
public static final PluginLang DB_MYSQL_LAUNCH_OPTIONS_FAIL
public static PluginLang[] values()
for (PluginLang c : PluginLang.values()) System.out.println(c);
public static PluginLang valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getIdentifier()
getIdentifier
in interface Lang
public java.lang.String getDefault()
getDefault
in interface Lang