Package org.wildfly.plugin.deployment
Class PackageType
java.lang.Object
org.wildfly.plugin.deployment.PackageType
- All Implemented Interfaces:
Comparable<PackageType>
Date: 29.06.2011
- Author:
- James R. Perkins
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanReturns the file extension that should be used.Returns the raw packaging type.inthashCode()booleanChecks the packaging type to see if it should be ignored or not.static PackageTyperesolve(org.apache.maven.project.MavenProject project) Resolves the package type from the maven project.toString()
-
Method Details
-
resolve
Resolves the package type from the maven project.- Parameters:
project- the maven project- Returns:
- the package type
-
isIgnored
public boolean isIgnored()Checks the packaging type to see if it should be ignored or not.- Returns:
trueif the package type should be ignored, otherwisefalse.
-
getPackaging
Returns the raw packaging type.- Returns:
- the packaging type
-
getFileExtension
Returns the file extension that should be used.- Returns:
- the file extension
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<PackageType>
-