public class ModuleSources
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directoryMode
Similar to a UNIX permission, sets the directory
mode of the directories
included.
|
private java.util.List<java.lang.String> |
excludes
Field excludes.
|
private boolean |
excludeSubModuleDirectories
Specifies whether sub-module directories below
the current module should be excluded
from fileSets applied to that module.
|
private java.lang.String |
fileMode
Similar to a UNIX permission, sets the file mode
of the files included.
|
private java.util.List<FileSet> |
fileSets
Field fileSets.
|
private boolean |
includeModuleDirectory
Specifies whether the module's finalName should
be prepended to the outputDirectory
values of any fileSets applied to it.
|
private java.util.List<java.lang.String> |
includes
Field includes.
|
private java.lang.String |
outputDirectory
Sets the output directory relative to the root
of the root directory of the assembly.
|
private java.lang.String |
outputDirectoryMapping
Sets the mapping pattern for all module
base-directories included in this assembly.
|
private boolean |
useDefaultExcludes
Whether standard exclusion patterns, such as
those matching CVS and Subversion
metadata files, should be used when calculating
the files affected by this set.
|
Constructor and Description |
---|
ModuleSources() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(java.lang.String string)
Method addExclude.
|
void |
addFileSet(FileSet fileSet)
Method addFileSet.
|
void |
addInclude(java.lang.String string)
Method addInclude.
|
java.lang.String |
getDirectoryMode()
Get similar to a UNIX permission, sets the directory mode of
the directories
included.
|
java.util.List<java.lang.String> |
getExcludes()
Method getExcludes.
|
java.lang.String |
getFileMode()
Get similar to a UNIX permission, sets the file mode of the
files included.
|
java.util.List<FileSet> |
getFileSets()
Method getFileSets.
|
java.util.List<java.lang.String> |
getIncludes()
Method getIncludes.
|
java.lang.String |
getOutputDirectory()
Get sets the output directory relative to the root
of the root directory of the assembly.
|
java.lang.String |
getOutputDirectoryMapping()
Get sets the mapping pattern for all module base-directories
included in this assembly.
|
boolean |
isExcludeSubModuleDirectories()
Get specifies whether sub-module directories below the
current module should be excluded
from fileSets applied to that module.
|
boolean |
isIncludeModuleDirectory()
Get specifies whether the module's finalName should be
prepended to the outputDirectory
values of any fileSets applied to it.
|
boolean |
isUseDefaultExcludes()
Get whether standard exclusion patterns, such as those
matching CVS and Subversion
metadata files, should be used when calculating
the files affected by this set.
|
void |
removeExclude(java.lang.String string)
Method removeExclude.
|
void |
removeFileSet(FileSet fileSet)
Method removeFileSet.
|
void |
removeInclude(java.lang.String string)
Method removeInclude.
|
void |
setDirectoryMode(java.lang.String directoryMode)
Set similar to a UNIX permission, sets the directory mode of
the directories
included.
|
void |
setExcludes(java.util.List<java.lang.String> excludes)
Set when <exclude> subelements are present, they
define a set of
files and directory to exclude.
|
void |
setExcludeSubModuleDirectories(boolean excludeSubModuleDirectories)
Set specifies whether sub-module directories below the
current module should be excluded
from fileSets applied to that module.
|
void |
setFileMode(java.lang.String fileMode)
Set similar to a UNIX permission, sets the file mode of the
files included.
|
void |
setFileSets(java.util.List<FileSet> fileSets)
Set specifies which groups of files from each included
module to include in the assembly.
|
void |
setIncludeModuleDirectory(boolean includeModuleDirectory)
Set specifies whether the module's finalName should be
prepended to the outputDirectory
values of any fileSets applied to it.
|
void |
setIncludes(java.util.List<java.lang.String> includes)
Set when <include> subelements are present, they
define a set of
files and directory to include.
|
void |
setOutputDirectory(java.lang.String outputDirectory)
Set sets the output directory relative to the root
of the root directory of the assembly.
|
void |
setOutputDirectoryMapping(java.lang.String outputDirectoryMapping)
Set sets the mapping pattern for all module base-directories
included in this assembly.
|
void |
setUseDefaultExcludes(boolean useDefaultExcludes)
Set whether standard exclusion patterns, such as those
matching CVS and Subversion
metadata files, should be used when calculating
the files affected by this set.
|
private boolean useDefaultExcludes
private java.lang.String outputDirectory
private java.util.List<java.lang.String> includes
private java.util.List<java.lang.String> excludes
private java.lang.String fileMode
private java.lang.String directoryMode
private java.util.List<FileSet> fileSets
private boolean includeModuleDirectory
private boolean excludeSubModuleDirectories
private java.lang.String outputDirectoryMapping
public void addExclude(java.lang.String string)
string
- public void addFileSet(FileSet fileSet)
fileSet
- public void addInclude(java.lang.String string)
string
- public java.lang.String getDirectoryMode()
public java.util.List<java.lang.String> getExcludes()
public java.lang.String getFileMode()
public java.util.List<FileSet> getFileSets()
public java.util.List<java.lang.String> getIncludes()
public java.lang.String getOutputDirectory()
public java.lang.String getOutputDirectoryMapping()
public boolean isExcludeSubModuleDirectories()
public boolean isIncludeModuleDirectory()
public boolean isUseDefaultExcludes()
public void removeExclude(java.lang.String string)
string
- public void removeFileSet(FileSet fileSet)
fileSet
- public void removeInclude(java.lang.String string)
string
- public void setDirectoryMode(java.lang.String directoryMode)
directoryMode
- public void setExcludeSubModuleDirectories(boolean excludeSubModuleDirectories)
excludeSubModuleDirectories
- public void setExcludes(java.util.List<java.lang.String> excludes)
excludes
- public void setFileMode(java.lang.String fileMode)
fileMode
- public void setFileSets(java.util.List<FileSet> fileSets)
fileSets
- public void setIncludeModuleDirectory(boolean includeModuleDirectory)
includeModuleDirectory
- public void setIncludes(java.util.List<java.lang.String> includes)
includes
- public void setOutputDirectory(java.lang.String outputDirectory)
outputDirectory
- public void setOutputDirectoryMapping(java.lang.String outputDirectoryMapping)
outputDirectoryMapping
- public void setUseDefaultExcludes(boolean useDefaultExcludes)
useDefaultExcludes
-