public enum PackagingType extends Enum<PackagingType>
| Enum Constant and Description |
|---|
ANY |
JAR
The valid packaging types.
|
JSAR |
WAR |
| Modifier and Type | Method and Description |
|---|---|
static PackagingType |
getByName(String name)
Do a lookup of the enumeration by the name string.
|
static PackagingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackagingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackagingType JAR
public static final PackagingType WAR
public static final PackagingType JSAR
public static final PackagingType ANY
public static PackagingType[] values()
for (PackagingType c : PackagingType.values()) System.out.println(c);
public static PackagingType 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 PackagingType getByName(String name)
name - the name string valueCopyright © 2015. All Rights Reserved.