Class SetBase
java.lang.Object
org.apache.maven.shared.model.fileset.SetBase
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FileSet
Class SetBase.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExclude
(String string) Method addExclude.void
addInclude
(String string) Method addInclude.Get similar to a UNIX permission.Method getExcludes.String[]
Get similar to a UNIX permission.Method getIncludes.String[]
Get specifies the mapper used.Get specifies the output directory relative to the root of the root directory of the assembly.boolean
Get specifies whether symbolic links should be traversed, or handled as-is.boolean
Get whether to include exclusion patterns for common temporary and SCM control files (true by default).void
removeExclude
(String string) Method removeExclude.void
removeInclude
(String string) Method removeInclude.void
setDirectoryMode
(String directoryMode) Set similar to a UNIX permission.void
setExcludes
(List<String> excludes) Set when <exclude> subelements are present, they define a set of files and directory to exclude.void
setFileMode
(String fileMode) Set similar to a UNIX permission.void
setFollowSymlinks
(boolean followSymlinks) Set specifies whether symbolic links should be traversed, or handled as-is.void
setIncludes
(List<String> includes) Set when <include> subelements are present, they define a set of files and directory to include.void
Set specifies the mapper used.void
setOutputDirectory
(String outputDirectory) Set specifies the output directory relative to the root of the root directory of the assembly.void
setUseDefaultExcludes
(boolean useDefaultExcludes) Set whether to include exclusion patterns for common temporary and SCM control files (true by default).
-
Constructor Details
-
SetBase
public SetBase()
-
-
Method Details
-
addExclude
Method addExclude.- Parameters:
string
- a string object.
-
addInclude
Method addInclude.- Parameters:
string
- a string object.
-
getDirectoryMode
Get similar to a UNIX permission. Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1. For example, the default value of 0755 translates to User read-write, Group and Other read-only. (more on unix-style permissions)- Returns:
- String
-
getExcludes
Method getExcludes.- Returns:
- List
-
getFileMode
Get similar to a UNIX permission. Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1. For example, the default value of 0644 translates to User read-write, Group and Other read-only. (more on unix-style permissions)- Returns:
- String
-
getIncludes
Method getIncludes.- Returns:
- List
-
getMapper
Get specifies the mapper used.- Returns:
- Mapper
-
getOutputDirectory
Get specifies the output directory relative to the root of the root directory of the assembly. For example, "log" will put the specified files in the log directory.- Returns:
- String
-
isFollowSymlinks
public boolean isFollowSymlinks()Get specifies whether symbolic links should be traversed, or handled as-is.- Returns:
- boolean
-
isUseDefaultExcludes
public boolean isUseDefaultExcludes()Get whether to include exclusion patterns for common temporary and SCM control files (true by default).- Returns:
- boolean
-
removeExclude
Method removeExclude.- Parameters:
string
- a string object.
-
removeInclude
Method removeInclude.- Parameters:
string
- a string object.
-
setDirectoryMode
Set similar to a UNIX permission. Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1. For example, the default value of 0755 translates to User read-write, Group and Other read-only. (more on unix-style permissions)- Parameters:
directoryMode
- a directoryMode object.
-
setExcludes
Set when <exclude> subelements are present, they define a set of files and directory to exclude.- Parameters:
excludes
- a excludes object.
-
setFileMode
Set similar to a UNIX permission. Format: (User)(Group)(Other) where each component is a sum of Read = 4, Write = 2, and Execute = 1. For example, the default value of 0644 translates to User read-write, Group and Other read-only. (more on unix-style permissions)- Parameters:
fileMode
- a fileMode object.
-
setFollowSymlinks
public void setFollowSymlinks(boolean followSymlinks) Set specifies whether symbolic links should be traversed, or handled as-is.- Parameters:
followSymlinks
- a followSymlinks object.
-
setIncludes
Set when <include> subelements are present, they define a set of files and directory to include.- Parameters:
includes
- a includes object.
-
setOutputDirectory
Set specifies the output directory relative to the root of the root directory of the assembly. For example, "log" will put the specified files in the log directory.- Parameters:
outputDirectory
- a outputDirectory object.
-
setUseDefaultExcludes
public void setUseDefaultExcludes(boolean useDefaultExcludes) Set whether to include exclusion patterns for common temporary and SCM control files (true by default).- Parameters:
useDefaultExcludes
- a useDefaultExcludes object.
-
getIncludesArray
- Returns:
- the file-set inclusion rules in array form.
-
getExcludesArray
- Returns:
- the file-set exclusion rules in array form.
-