@Incubating public enum SwiftLanguageVersion extends Enum<SwiftLanguageVersion>
| Modifier and Type | Method and Description |
|---|---|
static SwiftLanguageVersion |
of(org.gradle.util.VersionNumber swiftCompilerVersion) |
static SwiftLanguageVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwiftLanguageVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwiftLanguageVersion SWIFT2
public static final SwiftLanguageVersion SWIFT3
public static final SwiftLanguageVersion SWIFT4
public static SwiftLanguageVersion[] values()
for (SwiftLanguageVersion c : SwiftLanguageVersion.values()) System.out.println(c);
public static SwiftLanguageVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SwiftLanguageVersion of(org.gradle.util.VersionNumber swiftCompilerVersion)