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 |
getExcludes()
Method getExcludes.
|
String |
getFileMode()
Get similar to a UNIX permission, sets the file mode of the
files included.
|
List |
getFileSets()
Method getFileSets.
|
List |
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 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 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 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
- public void addFileSet(FileSet fileSet)
fileSet
- public void addInclude(String string)
string
- public String getDirectoryMode()
public List getExcludes()
public String getFileMode()
public List getFileSets()
public List getIncludes()
public String getOutputDirectory()
public String getOutputDirectoryMapping()
public boolean isExcludeSubModuleDirectories()
public boolean isIncludeModuleDirectory()
public boolean isUseDefaultExcludes()
public void removeExclude(String string)
string
- public void removeFileSet(FileSet fileSet)
fileSet
- public void removeInclude(String string)
string
- public void setDirectoryMode(String directoryMode)
directoryMode
- public void setExcludeSubModuleDirectories(boolean excludeSubModuleDirectories)
excludeSubModuleDirectories
- public void setExcludes(List excludes)
excludes
- public void setFileMode(String fileMode)
fileMode
- public void setFileSets(List fileSets)
fileSets
- public void setIncludeModuleDirectory(boolean includeModuleDirectory)
includeModuleDirectory
- public void setIncludes(List includes)
includes
- public void setOutputDirectory(String outputDirectory)
outputDirectory
- public void setOutputDirectoryMapping(String outputDirectoryMapping)
outputDirectoryMapping
- public void setUseDefaultExcludes(boolean useDefaultExcludes)
useDefaultExcludes
- Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.