Enum Class RefreshType
- All Implemented Interfaces:
Serializable,Comparable<RefreshType>,Constable
Enum representing different types of refresh operations.
This enum is used to specify the type of refresh operation that should be performed. It includes options for refreshing all data, refreshing global data, and refreshing permissions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RefreshTypegetName()static RefreshTypeReturns the enum constant of this class with the specified name.static RefreshType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
-
SETTINGS
-
MESSAGES
-
LANGUAGES
-
PUNISHMENT_REASONS
-
PUNISHMENT_LOGS
-
PUNISHMENT_USERS
-
PUNISHMENT_IPS
-
USERS
-
USER_PERMISSIONS
-
USER_PARENTS
-
USER_LOGINS
-
USER_SESSIONS
-
USER_PLAY_TIMES
-
GROUPS
-
GROUP_COLORS
-
GROUP_PERMISSIONS
-
GROUP_PARENTS
-
SINGLE_USER
-
SINGLE_USER_LOGIN
-
SINGLE_USER_SESSION
-
SINGLE_USER_PLAY_TIME
-
SINGLE_PUNISHMENT_REASON
-
SINGLE_PUNISHMENT_LOG
-
SINGLE_PUNISHMENT_USER
-
SINGLE_PUNISHMENT_IP
-
SINGLE_USER_PERMISSION
-
SINGLE_USER_PARENT
-
SINGLE_GROUP_PERMISSION
-
SINGLE_GROUP_PARENT
-
SINGLE_MESSAGE
-
SINGLE_LANGUAGE
-
SINGLE_GROUP
-
SINGLE_GROUP_COLOR
-
SINGLE_SETTING
-
-
Field Details
-
VALUES
-
name
-
-
Constructor Details
-
RefreshType
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
-
fromName
-