org.nuiton.license.plugin.model.descriptor
Class FileSet

java.lang.Object
  extended by org.nuiton.license.plugin.model.descriptor.FileSet
All Implemented Interfaces:
Serializable

public class FileSet
extends Object
implements Serializable

A fileSet allows the inclusion of groups of files into the license set and defines also the type of header to generate.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
FileSet()
           
 
Method Summary
 void addExclude(String string)
          Method addExclude.
 void addInclude(String string)
          Method addInclude.
 String getBasedir()
          Get Sets the basedir directory relative to the root of the root directory of the assembly.
 String getExclude()
          Get To add a single exclude.
 List<String> getExcludes()
          Method getExcludes.
 String getInclude()
          Get To add a single include.
 List<String> getIncludes()
          Method getIncludes.
 String getLineEnding()
          Get Sets the line-endings of the files in this fileSet.
 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 removeInclude(String string)
          Method removeInclude.
 void setBasedir(String basedir)
          Set Sets the basedir directory relative to the root of the root directory of the assembly.
 void setExclude(String exclude)
          Set To add a single exclude.
 void setExcludes(List<String> excludes)
          Set When <exclude> subelements are present, they define a set of files and directory to exclude.
 void setInclude(String include)
          Set To add a single include.
 void setIncludes(List<String> includes)
          Set When <include> subelements are present, they define a set of files and directory to include.
 void setLineEnding(String lineEnding)
          Set Sets the line-endings of the files in this fileSet.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSet

public FileSet()
Method Detail

addExclude

public void addExclude(String string)
Method addExclude.

Parameters:
string -

addInclude

public void addInclude(String string)
Method addInclude.

Parameters:
string -

getBasedir

public String getBasedir()
Get Sets the basedir 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

getExclude

public String getExclude()
Get

To add a single exclude.

When <exclude> subelements are present, they define a set of files and directory to exclude. If none is present, then <excludes> represents no exclusions.

Returns:
String

getExcludes

public List<String> getExcludes()
Method getExcludes.

Returns:
List

getInclude

public String getInclude()
Get

To add a single include.

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.

Returns:
String

getIncludes

public List<String> getIncludes()
Method getIncludes.

Returns:
List

getLineEnding

public String getLineEnding()
Get Sets the line-endings of the files in this fileSet. Valid values:

Returns:
String

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. (Since 2.2) .

Returns:
boolean

removeExclude

public void removeExclude(String string)
Method removeExclude.

Parameters:
string -

removeInclude

public void removeInclude(String string)
Method removeInclude.

Parameters:
string -

setBasedir

public void setBasedir(String basedir)
Set Sets the basedir 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:
basedir -

setExclude

public void setExclude(String exclude)
Set

To add a single exclude.

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:
exclude -

setExcludes

public void setExcludes(List<String> 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 -

setInclude

public void setInclude(String include)
Set

To add a single include.

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:
include -

setIncludes

public void setIncludes(List<String> 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 -

setLineEnding

public void setLineEnding(String lineEnding)
Set Sets the line-endings of the files in this fileSet. Valid values:

Parameters:
lineEnding -

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. (Since 2.2) .

Parameters:
useDefaultExcludes -


Copyright © 2008-2010 CodeLutin. All Rights Reserved.