protected static enum HaskellLibraryDescription.Type extends Enum<HaskellLibraryDescription.Type> implements FlavorConvertible
Enum Constant and Description |
---|
GHCI |
HADDOCK |
PACKAGE_SHARED |
PACKAGE_STATIC |
PACKAGE_STATIC_PIC |
SHARED |
STATIC |
STATIC_PIC |
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableSet<Flavor> |
FLAVOR_VALUES |
Modifier and Type | Method and Description |
---|---|
Flavor |
getFlavor() |
static HaskellLibraryDescription.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HaskellLibraryDescription.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HaskellLibraryDescription.Type PACKAGE_SHARED
public static final HaskellLibraryDescription.Type PACKAGE_STATIC
public static final HaskellLibraryDescription.Type PACKAGE_STATIC_PIC
public static final HaskellLibraryDescription.Type SHARED
public static final HaskellLibraryDescription.Type STATIC
public static final HaskellLibraryDescription.Type STATIC_PIC
public static final HaskellLibraryDescription.Type GHCI
public static final HaskellLibraryDescription.Type HADDOCK
public static final com.google.common.collect.ImmutableSet<Flavor> FLAVOR_VALUES
public static HaskellLibraryDescription.Type[] values()
for (HaskellLibraryDescription.Type c : HaskellLibraryDescription.Type.values()) System.out.println(c);
public static HaskellLibraryDescription.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