Enum Class SizeSpec.Compressor

java.lang.Object
java.lang.Enum<SizeSpec.Compressor>
dev.gmitch215.bytebox.gradle.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 Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    gzip, inflated by fflate.
    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 by fzstd.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
    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.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the version range for that package.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NONE

      public static final SizeSpec.Compressor 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

      public static final SizeSpec.Compressor ZSTD
      Deprecated, for removal: This API element is subject to removal in a future version.
      zstd, inflated by fzstd.
    • GZIP

      public static final SizeSpec.Compressor GZIP
      Deprecated, for removal: This API element is subject to removal in a future version.
      gzip, inflated by fflate.
  • Method Details

    • values

      public 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.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SizeSpec.Compressor valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • decoder

      public String 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

      public String 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