public final class EarModuleFactory extends Object
EarModule
based on an Artifact.Modifier and Type | Field and Description |
---|---|
static List<String> |
STANDARD_ARTIFACT_TYPE
The list of artifact types.
|
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(Artifact artifact,
JavaEEVersion javaEEVersion,
String defaultLibBundleDir,
Boolean includeInApplicationXml,
ArtifactTypeMappingService typeMappingService)
|
public static EarModule newEarModule(Artifact artifact, JavaEEVersion javaEEVersion, String defaultLibBundleDir, Boolean includeInApplicationXml, ArtifactTypeMappingService typeMappingService) throws UnknownArtifactTypeException
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–2015 The Apache Software Foundation. All rights reserved.