org.jboss.shrinkwrap.resolver.api.maven
Class PackagingType
java.lang.Object
org.jboss.shrinkwrap.resolver.api.maven.PackagingType
public class PackagingType
- extends Object
Represents the valid values for the "packaging" portion of a MavenCoordinate
- Author:
- Andrew Lee Rubinger, George Gastaldi
POM
public static final PackagingType POM
JAR
public static final PackagingType JAR
TEST_JAR
public static final PackagingType TEST_JAR
MAVEN_PLUGIN
public static final PackagingType MAVEN_PLUGIN
EJB
public static final PackagingType EJB
WAR
public static final PackagingType WAR
EAR
public static final PackagingType EAR
RAR
public static final PackagingType RAR
PAR
public static final PackagingType PAR
toString
public String toString()
- Returns the canonical
String value of this PackagingType
- Overrides:
toString in class Object
of
public static PackagingType of(String typeName)
throws IllegalArgumentException
- Builds a
PackagingType object
- Parameters:
typeName - String name of the packaging type
- Returns:
- Corresponding PackagingType object
- Throws:
IllegalArgumentException - Thrown if typeName is null or empty
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.