org.apache.maven.plugin.ear
public abstract class AbstractEarModule extends Object implements EarModule
Version: $Id: AbstractEarModule.java 332974 2005-11-13 12:42:44Z snicoll $
| Field Summary | |
|---|---|
| protected String | bundleDir |
| protected String | bundleFileName |
| protected Boolean | excluded |
| protected static String | MODULE_ELEMENT |
| Constructor Summary | |
|---|---|
| AbstractEarModule()
Empty constructor to be used when the module
is built based on the configuration. | |
| AbstractEarModule(Artifact a)
Creates an ear module from the artifact.
| |
| Method Summary | |
|---|---|
| Artifact | getArtifact() |
| String | getArtifactId()
Returns the artifact's Id.
|
| String | getBundleDir()
Returns the bundle directory. |
| String | getBundleFileName()
Returns the bundle file name. |
| String | getGroupId()
Returns the artifact's groupId.
|
| protected abstract String | getType()
Returns the type associated to the module.
|
| String | getUri() |
| boolean | isExcluded()
Specify whether this module should be excluded or not.
|
| void | resolveArtifact(Set artifacts, String defaultJavaBundleDir) |
| String | toString() |
Parameters: a the artifact
Returns: the artifact Id
Returns: the custom bundle directory
Returns: the bundle file name
Returns: the group Id
Returns: the artifact's type of the module
Returns: true if this module should be skipped, false otherwise