public class FileSet
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directory
Sets the absolute or relative location from the
module's
directory.
|
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 java.lang.String |
fileMode
Similar to a UNIX permission, sets the file mode
of the files included.
|
private boolean |
filtered
Whether to filter symbols in the files as they are
copied, using
properties from the build configuration.
|
private java.util.List<java.lang.String> |
includes
Field includes.
|
private java.lang.String |
lineEnding
Sets the line-endings of the files in this
fileSet.
|
private java.lang.String |
outputDirectory
Sets the output directory relative to the root
of the root directory of the 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 |
---|
FileSet() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(java.lang.String string)
Method addExclude.
|
void |
addInclude(java.lang.String string)
Method addInclude.
|
java.lang.String |
getDirectory()
Get sets the absolute or relative location from the module's
directory.
|
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<java.lang.String> |
getIncludes()
Method getIncludes.
|
java.lang.String |
getLineEnding()
Get sets the line-endings of the files in this fileSet.
|
java.lang.String |
getOutputDirectory()
Get sets the output directory relative to the root
of the root directory of the assembly.
|
boolean |
isFiltered()
Get whether to filter symbols in the files as they are
copied, using
properties from the build configuration.
|
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 |
removeInclude(java.lang.String string)
Method removeInclude.
|
void |
setDirectory(java.lang.String directory)
Set sets the absolute or relative location from the module's
directory.
|
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 |
setFileMode(java.lang.String fileMode)
Set similar to a UNIX permission, sets the file mode of the
files included.
|
void |
setFiltered(boolean filtered)
Set whether to filter symbols in the files as they are
copied, using
properties from the build configuration.
|
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 |
setLineEnding(java.lang.String lineEnding)
Set sets the line-endings of the files in this fileSet.
|
void |
setOutputDirectory(java.lang.String outputDirectory)
Set sets the output directory relative to the root
of the root directory of the 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.lang.String directory
private java.lang.String lineEnding
private boolean filtered
public void addExclude(java.lang.String string)
string
- public void addInclude(java.lang.String string)
string
- public java.lang.String getDirectory()
public java.lang.String getDirectoryMode()
public java.util.List<java.lang.String> getExcludes()
public java.lang.String getFileMode()
public java.util.List<java.lang.String> getIncludes()
public java.lang.String getLineEnding()
public java.lang.String getOutputDirectory()
public boolean isFiltered()
public boolean isUseDefaultExcludes()
public void removeExclude(java.lang.String string)
string
- public void removeInclude(java.lang.String string)
string
- public void setDirectory(java.lang.String directory)
directory
- public void setDirectoryMode(java.lang.String directoryMode)
directoryMode
- public void setExcludes(java.util.List<java.lang.String> excludes)
excludes
- public void setFileMode(java.lang.String fileMode)
fileMode
- public void setFiltered(boolean filtered)
filtered
- public void setIncludes(java.util.List<java.lang.String> includes)
includes
- public void setLineEnding(java.lang.String lineEnding)
lineEnding
- public void setOutputDirectory(java.lang.String outputDirectory)
outputDirectory
- public void setUseDefaultExcludes(boolean useDefaultExcludes)
useDefaultExcludes
-