public final class EarModuleFactory extends Object
EarModule
based on an Artifact
.Constructor and Description |
---|
EarModuleFactory() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
getStandardArtifactTypes()
Returns a list of standard artifact types.
|
static boolean |
isStandardArtifactType(String type)
Specify whether the specified type is standard artifact type.
|
static EarModule |
newEarModule(org.apache.maven.artifact.Artifact artifact,
JavaEEVersion javaEEVersion,
String defaultLibBundleDir,
Boolean includeInApplicationXml,
ArtifactTypeMappingService typeMappingService)
Creates a new
EarModule based on the specified Artifact and the specified execution
configuration. |
public static EarModule newEarModule(org.apache.maven.artifact.Artifact artifact, JavaEEVersion javaEEVersion, String defaultLibBundleDir, 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 JarModule
includeInApplicationXml
- should JarModule
be included in application
XmltypeMappingService
- The artifact type mapping serviceUnknownArtifactTypeException
- if the artifact is not handledpublic static List<String> getStandardArtifactTypes()
public static boolean isStandardArtifactType(String type)
type
- the type to checkCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.