Enum Class FilePath

java.lang.Object
java.lang.Enum<FilePath>
net.flectone.pulse.constant.FilePath
All Implemented Interfaces:
Serializable, Comparable<FilePath>, Constable

public enum FilePath extends Enum<FilePath>
Paths of the config files inside the plugin folder, relative to it.
  • Enum Constant Details

    • COMMAND

      public static final FilePath COMMAND
    • CONFIG

      public static final FilePath CONFIG
    • INTEGRATION

      public static final FilePath INTEGRATION
    • LOCALIZATION_FOLDER

      public static final FilePath LOCALIZATION_FOLDER
    • ENGLISH_LOCALIZATION

      public static final FilePath ENGLISH_LOCALIZATION
    • RUSSIAN_LOCALIZATION

      public static final FilePath RUSSIAN_LOCALIZATION
    • MESSAGE

      public static final FilePath MESSAGE
    • PERMISSION

      public static final FilePath PERMISSION
  • Method Details

    • values

      public static FilePath[] 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 FilePath 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
    • getPath

      public String getPath()