org.apache.maven.plugin.assembly.model
Class SetBase

java.lang.Object
  extended by org.apache.maven.plugin.assembly.model.SetBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DependencySet, FileSet, ModuleBinaries, ModuleSources, Repository

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

null

Version:
$Revision$ $Date$
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, sets the directory mode of the directories included.
 java.util.List getExcludes()
          Method getExcludes
 java.lang.String getFileMode()
          Get Similar to a UNIX permission, sets the file mode of the files included.
 java.util.List getIncludes()
          Method getIncludes
 java.lang.String getModelEncoding()
           
 java.lang.String getOutputDirectory()
          Get Sets the output directory relative to the root of the root directory of the assembly.
 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.
 boolean isUseStrictFiltering()
          Get When specified as true, any include/exclude patterns which aren't used to filter an actual artifact during assembly creation will cause the build to fail with an error.
 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, sets the directory mode of the directories included.
 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, sets the file mode of the files included.
 void setIncludes(java.util.List includes)
          Set When <include> subelements are present, they define a set of files and directory to include.
 void setModelEncoding(java.lang.String modelEncoding)
           
 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.
 void setUseStrictFiltering(boolean useStrictFiltering)
          Set When specified as true, any include/exclude patterns which aren't used to filter an actual artifact during assembly creation will cause the build to fail with an error.
 
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, sets the directory mode of the directories included. 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)


getExcludes

public java.util.List getExcludes()
Method getExcludes


getFileMode

public java.lang.String getFileMode()
Get Similar to a UNIX permission, sets the file mode of the files included. 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)


getIncludes

public java.util.List getIncludes()
Method getIncludes


getOutputDirectory

public java.lang.String getOutputDirectory()
Get Sets 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.


isUseDefaultExcludes

public 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. For backward compatibility, the default value is true.


isUseStrictFiltering

public boolean isUseStrictFiltering()
Get When specified as true, any include/exclude patterns which aren't used to filter an actual artifact during assembly creation will cause the build to fail with an error. This is meant to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor is incorrectly configured.


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, sets the directory mode of the directories included. 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:
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. If none is present, then <excludes> represents no exclusions.

Parameters:
excludes -

setFileMode

public void setFileMode(java.lang.String fileMode)
Set Similar to a UNIX permission, sets the file mode of the files included. 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 -

setIncludes

public void setIncludes(java.util.List includes)
Set When <include> subelements are present, they define a set of files and directory to include. If none is present, then <includes> represents all valid values.

Parameters:
includes -

setOutputDirectory

public void setOutputDirectory(java.lang.String outputDirectory)
Set Sets 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 standard exclusion patterns, such as those matching CVS and Subversion metadata files, should be used when calculating the files affected by this set. For backward compatibility, the default value is true.

Parameters:
useDefaultExcludes -

setUseStrictFiltering

public void setUseStrictFiltering(boolean useStrictFiltering)
Set When specified as true, any include/exclude patterns which aren't used to filter an actual artifact during assembly creation will cause the build to fail with an error. This is meant to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor is incorrectly configured.

Parameters:
useStrictFiltering -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.