public enum ArchiveType extends Enum<ArchiveType>
Modifier and Type | Method and Description |
---|---|
static ArchiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArchiveType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ArchiveType jar
public static final ArchiveType ear
public static final ArchiveType war
public static final ArchiveType export
public static final ArchiveType other
public static ArchiveType[] values()
for (ArchiveType c : ArchiveType.values()) System.out.println(c);
public static ArchiveType 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 null