Enum Class FileProviderEnum
- All Implemented Interfaces:
Serializable, Comparable<FileProviderEnum>, Constable
文件存储后端枚举。
定义了支持的文件存储服务类型,例如文件系统 (FS) 和 S3 兼容的对象存储。
- Author:
- xezzon
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FileProviderEnumReturns the enum constant of this class with the specified name.static FileProviderEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FS
硬盘存储:文件将直接存储在本地文件系统上。 -
S3
对象存储:文件将存储在兼容 S3 协议的对象存储服务上。
-
-
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
-