public final class EarModuleFactory
extends java.lang.Object
EarModule based on an Artifact.| Modifier and Type | Field and Description |
|---|---|
static java.util.List<java.lang.String> |
STANDARD_ARTIFACT_TYPE
The list of artifact types.
|
| Constructor and Description |
|---|
EarModuleFactory() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
getStandardArtifactTypes()
Returns a list of standard artifact types.
|
static boolean |
isStandardArtifactType(java.lang.String type)
Specify whether the specified type is standard artifact type.
|
static EarModule |
newEarModule(org.apache.maven.artifact.Artifact artifact,
JavaEEVersion javaEEVersion,
java.lang.String defaultLibBundleDir,
java.lang.Boolean includeInApplicationXml,
ArtifactTypeMappingService typeMappingService)
Creates a new
EarModule based on the specified Artifact and the specified execution
configuration. |
public static final java.util.List<java.lang.String> STANDARD_ARTIFACT_TYPE
public static EarModule newEarModule(org.apache.maven.artifact.Artifact artifact, JavaEEVersion javaEEVersion, java.lang.String defaultLibBundleDir, java.lang.Boolean includeInApplicationXml, ArtifactTypeMappingService typeMappingService) throws UnknownArtifactTypeException
EarModule based on the specified Artifact and the specified execution
configuration.artifact - the artifactjavaEEVersion - the javaEE version to usedefaultLibBundleDir - the default bundle dir for JarModuleincludeInApplicationXml - should JarModule be included in application
XmltypeMappingService - The artifact type mapping serviceUnknownArtifactTypeException - if the artifact is not handledpublic static java.util.List<java.lang.String> getStandardArtifactTypes()
public static boolean isStandardArtifactType(java.lang.String type)
type - the type to check