Enum Class ExportableDataContent.ExportMode
java.lang.Object
java.lang.Enum<ExportableDataContent.ExportMode>
zeroecho.sdk.content.api.ExportableDataContent.ExportMode
- All Implemented Interfaces:
Serializable, Comparable<ExportableDataContent.ExportMode>, Constable
- Enclosing interface:
ExportableDataContent
Enumeration of supported export modes.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBash script mode returns a shell script with embedded Base64-encoded content, suitable for execution on Unix-like systems.CMD script mode returns a Windows batch file containing encoded content that can be decoded and used locally.Raw mode returns the content as a direct InputStream, without any transformation or encoding. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ExportableDataContent.ExportMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RAW
Raw mode returns the content as a direct InputStream, without any transformation or encoding. -
BASH_SCRIPT
Bash script mode returns a shell script with embedded Base64-encoded content, suitable for execution on Unix-like systems. -
CMD_SCRIPT
CMD script mode returns a Windows batch file containing encoded content that can be decoded and used locally.
-
-
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
-