public static enum SwiftLibraryDescription.Type extends Enum<SwiftLibraryDescription.Type> implements FlavorConvertible
Enum Constant and Description |
---|
MACH_O_BUNDLE |
SHARED |
STATIC |
Modifier and Type | Method and Description |
---|---|
Flavor |
getFlavor() |
static SwiftLibraryDescription.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwiftLibraryDescription.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwiftLibraryDescription.Type SHARED
public static final SwiftLibraryDescription.Type STATIC
public static final SwiftLibraryDescription.Type MACH_O_BUNDLE
public static SwiftLibraryDescription.Type[] values()
for (SwiftLibraryDescription.Type c : SwiftLibraryDescription.Type.values()) System.out.println(c);
public static SwiftLibraryDescription.Type 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 Flavor getFlavor()
getFlavor
in interface FlavorConvertible