public class ModuleSources extends Object implements Serializable
Constructor and Description |
---|
ModuleSources() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(String string)
Method addExclude.
|
void |
addFileSet(FileSet fileSet)
Method addFileSet.
|
void |
addInclude(String string)
Method addInclude.
|
String |
getDirectoryMode()
Get similar to a UNIX permission, sets the directory mode of
the directories
included.
|
List<String> |
getExcludes()
Method getExcludes.
|
String |
getFileMode()
Get similar to a UNIX permission, sets the file mode of the
files included.
|
List<FileSet> |
getFileSets()
Method getFileSets.
|
List<String> |
getIncludes()
Method getIncludes.
|
String |
getOutputDirectory()
Get sets the output directory relative to the root
of the root directory of the assembly.
|
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(String string)
Method removeExclude.
|
void |
removeFileSet(FileSet fileSet)
Method removeFileSet.
|
void |
removeInclude(String string)
Method removeInclude.
|
void |
setDirectoryMode(String directoryMode)
Set similar to a UNIX permission, sets the directory mode of
the directories
included.
|
void |
setExcludes(List<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(String fileMode)
Set similar to a UNIX permission, sets the file mode of the
files included.
|
void |
setFileSets(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(List<String> includes)
Set when <include> subelements are present, they
define a set of
files and directory to include.
|
void |
setOutputDirectory(String outputDirectory)
Set sets the output directory relative to the root
of the root directory of the assembly.
|
void |
setOutputDirectoryMapping(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.
|
public void addExclude(String string)
string
- a string object.public void addFileSet(FileSet fileSet)
fileSet
- a fileSet object.public void addInclude(String string)
string
- a string object.public String getDirectoryMode()
public String getFileMode()
public String getOutputDirectory()
public String getOutputDirectoryMapping()
public boolean isExcludeSubModuleDirectories()
public boolean isIncludeModuleDirectory()
public boolean isUseDefaultExcludes()
public void removeExclude(String string)
string
- a string object.public void removeFileSet(FileSet fileSet)
fileSet
- a fileSet object.public void removeInclude(String string)
string
- a string object.public void setDirectoryMode(String directoryMode)
directoryMode
- a directoryMode object.public void setExcludeSubModuleDirectories(boolean excludeSubModuleDirectories)
excludeSubModuleDirectories
- a
excludeSubModuleDirectories object.public void setExcludes(List<String> excludes)
excludes
- a excludes object.public void setFileMode(String fileMode)
fileMode
- a fileMode object.public void setFileSets(List<FileSet> fileSets)
fileSets
- a fileSets object.public void setIncludeModuleDirectory(boolean includeModuleDirectory)
includeModuleDirectory
- a includeModuleDirectory objectpublic void setIncludes(List<String> includes)
includes
- a includes object.public void setOutputDirectory(String outputDirectory)
outputDirectory
- a outputDirectory object.public void setOutputDirectoryMapping(String outputDirectoryMapping)
outputDirectoryMapping
- a outputDirectoryMapping objectpublic void setUseDefaultExcludes(boolean useDefaultExcludes)
useDefaultExcludes
- a useDefaultExcludes object.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.