|
||||||||||
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,
Boolean generateId)
Appends the XML representation of this module. |
boolean |
changeManifestClasspath()
|
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. |
Artifact |
getArtifact()
Returns the Artifact representing this module. |
String |
getLibDir()
|
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<Artifact> 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 |
---|
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, Boolean generateId)
writer
- the writer to useversion
- the version of the application.xml filegenerateId
- whether an id should be generatedvoid resolveArtifact(Set<Artifact> artifacts) throws EarPluginException, MojoFailureException
Artifact
represented by the module. Note
that the EarExecutionContext
might be used to customize
further the resolution.
artifacts
- the project's artifacts
EarPluginException
- if the artifact could not be resolved
MojoFailureException
- if an unexpected error occurredvoid setEarExecutionContext(EarExecutionContext earExecutionContext)
boolean changeManifestClasspath()
String getLibDir()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |