public final class PackageType extends Object implements Comparable<PackageType>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PackageType o) |
boolean |
equals(Object obj) |
String |
getFileExtension()
Returns the file extension that should be used.
|
String |
getPackaging()
Returns the raw packaging type.
|
int |
hashCode() |
boolean |
isIgnored()
Checks the packaging type to see if it should be ignored or not.
|
static PackageType |
resolve(org.apache.maven.project.MavenProject project)
Resolves the package type from the maven project.
|
String |
toString() |
public static PackageType resolve(org.apache.maven.project.MavenProject project)
project - the maven projectpublic boolean isIgnored()
true if the package type should be ignored, otherwise false.public String getPackaging()
public String getFileExtension()
public int compareTo(PackageType o)
compareTo in interface Comparable<PackageType>Copyright © 2016 JBoss by Red Hat. All rights reserved.