Enum Class RefreshType

java.lang.Object
java.lang.Enum<RefreshType>
de.murmelmeister.murmelapi.utils.update.RefreshType
All Implemented Interfaces:
Serializable, Comparable<RefreshType>, Constable

public enum RefreshType extends Enum<RefreshType>
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.

  • Enum Constant Details

    • ALL

      public static final RefreshType ALL
    • SETTINGS

      public static final RefreshType SETTINGS
    • MESSAGES

      public static final RefreshType MESSAGES
    • LANGUAGES

      public static final RefreshType LANGUAGES
    • PUNISHMENT_REASONS

      public static final RefreshType PUNISHMENT_REASONS
    • PUNISHMENT_LOGS

      public static final RefreshType PUNISHMENT_LOGS
    • PUNISHMENT_USERS

      public static final RefreshType PUNISHMENT_USERS
    • PUNISHMENT_IPS

      public static final RefreshType PUNISHMENT_IPS
    • USERS

      public static final RefreshType USERS
    • USER_PERMISSIONS

      public static final RefreshType USER_PERMISSIONS
    • USER_PARENTS

      public static final RefreshType USER_PARENTS
    • USER_LOGINS

      public static final RefreshType USER_LOGINS
    • USER_SESSIONS

      public static final RefreshType USER_SESSIONS
    • USER_PLAY_TIMES

      public static final RefreshType USER_PLAY_TIMES
    • GROUPS

      public static final RefreshType GROUPS
    • GROUP_COLORS

      public static final RefreshType GROUP_COLORS
    • GROUP_PERMISSIONS

      public static final RefreshType GROUP_PERMISSIONS
    • GROUP_PARENTS

      public static final RefreshType GROUP_PARENTS
    • SINGLE_USER

      public static final RefreshType SINGLE_USER
    • SINGLE_USER_LOGIN

      public static final RefreshType SINGLE_USER_LOGIN
    • SINGLE_USER_SESSION

      public static final RefreshType SINGLE_USER_SESSION
    • SINGLE_USER_PLAY_TIME

      public static final RefreshType SINGLE_USER_PLAY_TIME
    • SINGLE_PUNISHMENT_REASON

      public static final RefreshType SINGLE_PUNISHMENT_REASON
    • SINGLE_PUNISHMENT_LOG

      public static final RefreshType SINGLE_PUNISHMENT_LOG
    • SINGLE_PUNISHMENT_USER

      public static final RefreshType SINGLE_PUNISHMENT_USER
    • SINGLE_PUNISHMENT_IP

      public static final RefreshType SINGLE_PUNISHMENT_IP
    • SINGLE_USER_PERMISSION

      public static final RefreshType SINGLE_USER_PERMISSION
    • SINGLE_USER_PARENT

      public static final RefreshType SINGLE_USER_PARENT
    • SINGLE_GROUP_PERMISSION

      public static final RefreshType SINGLE_GROUP_PERMISSION
    • SINGLE_GROUP_PARENT

      public static final RefreshType SINGLE_GROUP_PARENT
    • SINGLE_MESSAGE

      public static final RefreshType SINGLE_MESSAGE
    • SINGLE_LANGUAGE

      public static final RefreshType SINGLE_LANGUAGE
    • SINGLE_GROUP

      public static final RefreshType SINGLE_GROUP
    • SINGLE_GROUP_COLOR

      public static final RefreshType SINGLE_GROUP_COLOR
    • SINGLE_SETTING

      public static final RefreshType SINGLE_SETTING
  • Field Details

    • VALUES

      private static final RefreshType[] VALUES
    • name

      private final String name
  • Constructor Details

    • RefreshType

      private RefreshType(String name)
  • Method Details

    • values

      public static RefreshType[] 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

      public static RefreshType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()
    • fromName

      public static RefreshType fromName(String name)