|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WarPackagingContext
The packaging context.
| Method Summary | |
|---|---|
boolean |
archiveClasses()
Specify whether the classes resources should be archived in the WEB-INF/lib of the generated web app. |
MavenArchiveConfiguration |
getArchive()
The maven archive configuration to use. |
ArchiverManager |
getArchiverManager()
Returns the archiver manager to use. |
ArtifactFactory |
getArtifactFactory()
|
File |
getClassesDirectory()
Returns the directory holding generated classes. |
List |
getFilters()
Returns the list of filter files to use. |
List |
getFilterWrappers()
|
JarArchiver |
getJarArchiver()
Returns the Jar archiver needed for archiving classes directory into jar file under WEB-INF/lib. |
Log |
getLog()
Returns the logger to use to output logging event. |
MavenFileFilter |
getMavenFileFilter()
Returns the MavenFileFilter instance to use. |
String |
getOutputFileNameMapping()
Returns the output file name mapping to use, if any. |
File |
getOverlaysWorkDirectory()
Returns the directory to unpack dependent WARs into if needed. |
List |
getOwnerIds()
Returns the list of registered overlays for this session. |
MavenProject |
getProject()
Returns the maven project. |
String |
getResourceEncoding()
Returns the encoding to use for resources. |
MavenSession |
getSession()
Returns the Maven session. |
File |
getWebappDirectory()
Returns the webapp directory. |
File |
getWebappSourceDirectory()
Returns the main webapp source directory. |
String[] |
getWebappSourceExcludes()
Returns the webapp source excludes. |
String[] |
getWebappSourceIncludes()
Returns the webapp source includes. |
WebappStructure |
getWebappStructure()
Returns the WebappStructure. |
boolean |
isFilteringDeploymentDescriptors()
|
boolean |
isNonFilteredExtension(String fileName)
Specify if the given fileName belongs to the list of extensions that must not be filtered |
| Method Detail |
|---|
MavenProject getProject()
File getWebappDirectory()
File getWebappSourceDirectory()
String[] getWebappSourceIncludes()
String[] getWebappSourceExcludes()
File getClassesDirectory()
boolean archiveClasses()
Log getLog()
File getOverlaysWorkDirectory()
ArchiverManager getArchiverManager()
MavenArchiveConfiguration getArchive()
JarArchiver getJarArchiver()
String getOutputFileNameMapping()
List getFilters()
WebappStructure getWebappStructure()
WebappStructure.
List getOwnerIds()
MavenFileFilter getMavenFileFilter()
MavenFileFilter instance to use.
List getFilterWrappers()
List of FileUtils.FilterWrapperboolean isNonFilteredExtension(String fileName)
fileName - the name of file
boolean isFilteringDeploymentDescriptors()
ArtifactFactory getArtifactFactory()
MavenSession getSession()
String getResourceEncoding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||