Package dev.gmitch215.bytebox.gradle
Enum Class SizeSpec.Compressor
- All Implemented Interfaces:
Serializable,Comparable<SizeSpec.Compressor>,Constable
- Enclosing class:
SizeSpec
@Deprecated(since="1.0.1",
forRemoval=true)
public static enum SizeSpec.Compressor
extends Enum<SizeSpec.Compressor>
Deprecated, for removal: This API element is subject to removal in a future version.
Which compressor packs the module.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.gzip, inflated byfflate.Deprecated, for removal: This API element is subject to removal in a future version.No pre-compression, and nothing to inflate at startup.Deprecated, for removal: This API element is subject to removal in a future version.zstd, inflated byfzstd. -
Method Summary
Modifier and TypeMethodDescriptiondecoder()Deprecated, for removal: This API element is subject to removal in a future version.Returns the npm package holding the synchronous decoder, or null when none is needed.static SizeSpec.CompressorDeprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.static SizeSpec.Compressor[]values()Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.version()Deprecated, for removal: This API element is subject to removal in a future version.Returns the version range for that package.
-
Enum Constant Details
-
NONE
Deprecated, for removal: This API element is subject to removal in a future version.No pre-compression, and nothing to inflate at startup. -
ZSTD
Deprecated, for removal: This API element is subject to removal in a future version.zstd, inflated byfzstd. -
GZIP
Deprecated, for removal: This API element is subject to removal in a future version.gzip, inflated byfflate.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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
-
decoder
Deprecated, for removal: This API element is subject to removal in a future version.Returns the npm package holding the synchronous decoder, or null when none is needed.- Returns:
- the npm package holding the synchronous decoder, or null when none is needed
-
version
Deprecated, for removal: This API element is subject to removal in a future version.Returns the version range for that package.- Returns:
- the version range for that package
-
SizeSpec.getCompression()