|
||||||||||
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<String> |
getFilters()
Returns the list of filter files to use. |
List<FileUtils.FilterWrapper> |
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<String> |
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 |
boolean |
isUseJvmChmod()
|
boolean |
isWebappSourceIncludeEmptyDirectories()
Returns true if empty directories should be includes, othewrwise false |
Method Detail |
---|
MavenProject getProject()
File getWebappDirectory()
File getWebappSourceDirectory()
String[] getWebappSourceIncludes()
boolean isWebappSourceIncludeEmptyDirectories()
true
if empty directories should be includes, othewrwise false
true
if empty directories should be includes, othewrwise false
String[] getWebappSourceExcludes()
File getClassesDirectory()
boolean archiveClasses()
Log getLog()
File getOverlaysWorkDirectory()
ArchiverManager getArchiverManager()
MavenArchiveConfiguration getArchive()
JarArchiver getJarArchiver()
String getOutputFileNameMapping()
List<String> getFilters()
WebappStructure getWebappStructure()
WebappStructure
.
List<String> getOwnerIds()
MavenFileFilter getMavenFileFilter()
MavenFileFilter
instance to use.
List<FileUtils.FilterWrapper> getFilterWrappers()
List
of FileUtils.FilterWrapper
boolean isNonFilteredExtension(String fileName)
fileName
- the name of file
boolean isFilteringDeploymentDescriptors()
ArtifactFactory getArtifactFactory()
MavenSession getSession()
String getResourceEncoding()
boolean isUseJvmChmod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |