Package com.diffplug.spotless.biome
Enum BiomeFlavor
- All Implemented Interfaces:
Serializable,Comparable<BiomeFlavor>,java.lang.constant.Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic BiomeFlavorReturns the enum constant of this type with the specified name.static BiomeFlavor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BIOME
The new forked Biome project.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
configName
- Returns:
- The name of the default config file.
-
defaultVersion
- Returns:
- Default version to use when no version was set explicitly.
-
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
- 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
- Returns:
- The short name of this flavor, i.e.
romeorbiome.
-