org.apache.maven.shared.model.fileset
Class SetBase

java.lang.Object
  extended by org.apache.maven.shared.model.fileset.SetBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FileSet

public class SetBase
extends java.lang.Object
implements java.io.Serializable

Class SetBase.

Version:
$Revision: 886882 $ $Date: 2013-11-16 21:55:43 +0000 (Sat, 16 Nov 2013) $
See Also:
Serialized Form

Constructor Summary
SetBase()
           
 
Method Summary
 void addExclude(java.lang.String string)
          Method addExclude.
 void addInclude(java.lang.String string)
          Method addInclude.
 java.lang.String getDirectoryMode()
          Get Similar to a UNIX permission.
 java.util.List getExcludes()
          Method getExcludes.
 java.lang.String[] getExcludesArray()
           
 java.lang.String getFileMode()
          Get Similar to a UNIX permission.
 java.util.List getIncludes()
          Method getIncludes.
 java.lang.String[] getIncludesArray()
           
 Mapper getMapper()
          Get Specifies the mapper used.
 java.lang.String getModelEncoding()
           
 java.lang.String getOutputDirectory()
          Get Specifies the output directory relative to the root of the root directory of the assembly.
 boolean isFollowSymlinks()
          Get Specifies whether symbolic links should be traversed, or handled as-is.
 boolean isUseDefaultExcludes()
          Get Whether to include exclusion patterns for common temporary and SCM control files (true by default).
 void removeExclude(java.lang.String string)
          Method removeExclude.
 void removeInclude(java.lang.String string)
          Method removeInclude.
 void setDirectoryMode(java.lang.String directoryMode)
          Set Similar to a UNIX permission.
 void setExcludes(java.util.List 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.
 void setFollowSymlinks(boolean followSymlinks)
          Set Specifies whether symbolic links should be traversed, or handled as-is.
 void setIncludes(java.util.List includes)
          Set When <include> subelements are present, they define a set of files and directory to include.
 void setMapper(Mapper mapper)
          Set Specifies the mapper used.
 void setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setOutputDirectory(java.lang.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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetBase

public SetBase()
Method Detail

addExclude

public void addExclude(java.lang.String string)
Method addExclude.

Parameters:
string -

addInclude

public void addInclude(java.lang.String string)
Method addInclude.

Parameters:
string -

getDirectoryMode

public java.lang.String 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

public java.util.List getExcludes()
Method getExcludes.

Returns:
java.util.List

getFileMode

public java.lang.String 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

public java.util.List getIncludes()
Method getIncludes.

Returns:
java.util.List

getMapper

public Mapper getMapper()
Get Specifies the mapper used.

Returns:
Mapper

getOutputDirectory

public java.lang.String 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

public void removeExclude(java.lang.String string)
Method removeExclude.

Parameters:
string -

removeInclude

public void removeInclude(java.lang.String string)
Method removeInclude.

Parameters:
string -

setDirectoryMode

public void setDirectoryMode(java.lang.String directoryMode)
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 -

setExcludes

public void setExcludes(java.util.List excludes)
Set When <exclude> subelements are present, they define a set of files and directory to exclude.

Parameters:
excludes -

setFileMode

public void setFileMode(java.lang.String fileMode)
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 -

setFollowSymlinks

public void setFollowSymlinks(boolean followSymlinks)
Set Specifies whether symbolic links should be traversed, or handled as-is.

Parameters:
followSymlinks -

setIncludes

public void setIncludes(java.util.List includes)
Set When <include> subelements are present, they define a set of files and directory to include.

Parameters:
includes -

setMapper

public void setMapper(Mapper mapper)
Set Specifies the mapper used.

Parameters:
mapper -

setOutputDirectory

public void setOutputDirectory(java.lang.String outputDirectory)
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 -

setUseDefaultExcludes

public void setUseDefaultExcludes(boolean useDefaultExcludes)
Set Whether to include exclusion patterns for common temporary and SCM control files (true by default).

Parameters:
useDefaultExcludes -

getIncludesArray

public java.lang.String[] getIncludesArray()
Returns:
the file-set inclusion rules in array form.

getExcludesArray

public java.lang.String[] getExcludesArray()
Returns:
the file-set exclusion rules in array form.

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.