|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.ear.AbstractEarModule
public abstract class AbstractEarModule
A base implementation of an EarModule
.
Field Summary | |
---|---|
protected java.lang.String |
bundleDir
|
protected java.lang.String |
bundleFileName
|
protected java.lang.Boolean |
excluded
|
protected static java.lang.String |
MODULE_ELEMENT
|
Constructor Summary | |
---|---|
AbstractEarModule()
Empty constructor to be used when the module is built based on the configuration. |
|
AbstractEarModule(org.apache.maven.artifact.Artifact a)
Creates an ear module from the artifact. |
Method Summary | |
---|---|
org.apache.maven.artifact.Artifact |
getArtifact()
Returns the Artifact representing this module. |
java.lang.String |
getArtifactId()
Returns the artifact's Id. |
java.lang.String |
getBundleDir()
Returns the bundle directory. |
java.lang.String |
getBundleFileName()
Returns the bundle file name. |
java.lang.String |
getGroupId()
Returns the artifact's groupId. |
protected abstract java.lang.String |
getType()
Returns the type associated to the module. |
java.lang.String |
getUri()
Returns the URI for this module. |
boolean |
isExcluded()
Specify whether this module should be excluded or not. |
void |
resolveArtifact(java.util.Set artifacts,
java.lang.String defaultJavaBundleDir)
Resolves the Artifact represented by the module with
the specified execution configuration. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.ear.EarModule |
---|
appendModule |
Field Detail |
---|
protected static final java.lang.String MODULE_ELEMENT
protected java.lang.String bundleDir
protected java.lang.String bundleFileName
protected java.lang.Boolean excluded
Constructor Detail |
---|
public AbstractEarModule()
public AbstractEarModule(org.apache.maven.artifact.Artifact a)
a
- the artifactMethod Detail |
---|
public void resolveArtifact(java.util.Set artifacts, java.lang.String defaultJavaBundleDir) throws org.apache.maven.plugin.MojoFailureException
EarModule
Artifact
represented by the module with
the specified execution configuration.
resolveArtifact
in interface EarModule
artifacts
- the project's artifactsdefaultJavaBundleDir
- the default bundle dir for JavaModule
org.apache.maven.plugin.MojoFailureException
protected abstract java.lang.String getType()
public org.apache.maven.artifact.Artifact getArtifact()
EarModule
Artifact
representing this module.
Note that this might return null till the
module has been resolved.
getArtifact
in interface EarModule
EarModule.resolveArtifact(java.util.Set, String)
public java.lang.String getUri()
EarModule
getUri
in interface EarModule
public java.lang.String getGroupId()
public java.lang.String getArtifactId()
public java.lang.String getBundleDir()
public java.lang.String getBundleFileName()
public boolean isExcluded()
isExcluded
in interface EarModule
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |