Enum Class SupportedStorage

java.lang.Object
java.lang.Enum<SupportedStorage>
com.adventure.config.SupportedStorage
All Implemented Interfaces:
Serializable, Comparable<SupportedStorage>, Constable

public enum SupportedStorage extends Enum<SupportedStorage>
Supported type of storages by the application.
  • Enum Constant Details

    • FILESYSTEM

      public static final SupportedStorage FILESYSTEM
      Storage in the filesystem.
    • AWS

      public static final SupportedStorage AWS
      Storage in AWS S3 bucket.
  • Method Details

    • values

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