|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EarModule
The ear module interface.
Method Summary | |
---|---|
void |
appendModule(XMLWriter writer,
String version)
Appends the XML representation of this module. |
String |
getAltDeploymentDescriptor()
The alt-dd element specifies an optional URI to the post-assembly version of the deployment descriptor file for a particular Java EE module. |
org.apache.maven.artifact.Artifact |
getArtifact()
Returns the Artifact representing this module. |
String |
getType()
Returns the type associated to the module. |
String |
getUri()
Returns the URI for this module. |
boolean |
isExcluded()
Specify whether this module should be excluded or not. |
void |
resolveArtifact(Set artifacts)
Resolves the Artifact represented by the module. |
void |
setEarExecutionContext(EarExecutionContext earExecutionContext)
|
Boolean |
shouldUnpack()
Specify whether this module should be unpacked in the EAR archive or not. |
Method Detail |
---|
org.apache.maven.artifact.Artifact getArtifact()
Artifact
representing this module.
Note that this might return null till the
module has been resolved.
resolveArtifact(java.util.Set)
String getUri()
String getType()
boolean isExcluded()
Boolean shouldUnpack()
String getAltDeploymentDescriptor()
void appendModule(XMLWriter writer, String version)
writer
- the writer to useversion
- the version of the application.xml filevoid resolveArtifact(Set artifacts) throws EarPluginException, org.apache.maven.plugin.MojoFailureException
Artifact
represented by the module. Note
that the EarExecutionContext
might be used to customiz
further the resolution.
artifacts
- the project's artifacts
EarPluginException
- if the artifact could not be resolved
org.apache.maven.plugin.MojoFailureException
- if an unexpected error occuredvoid setEarExecutionContext(EarExecutionContext earExecutionContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |