Enum BiomeFlavor

java.lang.Object
java.lang.Enum<BiomeFlavor>
com.diffplug.spotless.biome.BiomeFlavor
All Implemented Interfaces:
Serializable, Comparable<BiomeFlavor>, java.lang.constant.Constable

public enum BiomeFlavor extends Enum<BiomeFlavor>
The flavor of Biome to use. Exists for compatibility reason, may be removed shortly.

Will be removed once the old Rome project is not supported anymore.

  • Enum Constant Details

    • BIOME

      public static final BiomeFlavor BIOME
      The new forked Biome project.
  • Method Details

    • values

      public static BiomeFlavor[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BiomeFlavor valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • configName

      public String configName()
      Returns:
      The name of the default config file.
    • defaultVersion

      public String defaultVersion()
      Returns:
      Default version to use when no version was set explicitly.
    • getDownloadFilePattern

      public String getDownloadFilePattern()
      Returns:
      The pattern for String.format() for the file name of a Biome executable for a certain version and architecure. The first parameter is the platform, the second is the OS, the third is the architecture.
    • getUrlPattern

      public String getUrlPattern()
      Returns:
      The pattern for String.format() for the URL where the executables can be downloaded. The first parameter is the version, the second parameter is the OS / platform.
    • shortName

      public String shortName()
      Returns:
      The short name of this flavor, i.e. rome or biome.