public enum PackagingType extends Enum<PackagingType>
| Enum Constant and Description |
|---|
BASIC |
BUNDLE |
EAR |
JAR |
NONE |
OTHER |
WAR |
| Modifier and Type | Method and Description |
|---|---|
static PackagingType |
from(String type) |
String |
getDescription() |
String |
getType() |
String |
toString() |
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 NONE
public static final PackagingType BASIC
public static final PackagingType JAR
public static final PackagingType WAR
public static final PackagingType EAR
public static final PackagingType BUNDLE
public static final PackagingType OTHER
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 getType()
public String toString()
toString in class Enum<PackagingType>public String getDescription()
public static PackagingType from(String type)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.