public enum PackagingType extends Enum<PackagingType>
MavenCoordinate| Enum Constant and Description |
|---|
EAR |
EJB |
JAR |
MAVEN_PLUGIN |
PAR |
POM |
RAR |
WAR |
| Modifier and Type | Method and Description |
|---|---|
static PackagingType |
fromPackagingType(String typeName)
Maps a string to PackagingType
|
String |
toString()
Returns the canonical
String value of this PackagingType |
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 POM
public static final PackagingType JAR
public static final PackagingType MAVEN_PLUGIN
public static final PackagingType EJB
public static final PackagingType WAR
public static final PackagingType EAR
public static final PackagingType RAR
public static final PackagingType PAR
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 String toString()
String value of this PackagingTypetoString in class Enum<PackagingType>Enum.toString()public static PackagingType fromPackagingType(String typeName) throws IllegalArgumentException
typeName - String name of the packaging typeIllegalArgumentException - Thrown if typeName is null, empty or does not represent a valid packaging typeCopyright © 2012 JBoss by Red Hat. All Rights Reserved.