|
ShrinkWrap Resolver Maven API 2.0.0-alpha-3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PackagingType>
org.jboss.shrinkwrap.resolver.api.maven.PackagingType
public enum PackagingType
Represents the valid values for the "packaging" portion of a MavenCoordinate
| Enum Constant Summary | |
|---|---|
EAR
|
|
EJB
|
|
JAR
|
|
MAVEN_PLUGIN
|
|
PAR
|
|
POM
|
|
RAR
|
|
WAR
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String toString()
String value of this PackagingType
toString in class Enum<PackagingType>Enum.toString()
public static PackagingType fromPackagingType(String typeName)
throws IllegalArgumentException
typeName - String name of the packaging type
IllegalArgumentException - Thrown if typeName is null, empty or does not represent a valid packaging type
|
ShrinkWrap Resolver Maven API 2.0.0-alpha-3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||