org.apache.maven.model
Class PatternSet

java.lang.Object
  extended by org.apache.maven.model.PatternSet
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FileSet

public class PatternSet
extends Object
implements Serializable

Definition of include or exclude patterns.

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

Constructor Summary
PatternSet()
           
 
Method Summary
 void addExclude(String string)
          Method addExclude.
 void addInclude(String string)
          Method addInclude.
 List<String> getExcludes()
          Method getExcludes.
 List<String> getIncludes()
          Method getIncludes.
 void removeExclude(String string)
          Method removeExclude.
 void removeInclude(String string)
          Method removeInclude.
 void setExcludes(List<String> excludes)
          Set a list of patterns to exclude, e.g.
 void setIncludes(List<String> includes)
          Set a list of patterns to include, e.g.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatternSet

public PatternSet()
Method Detail

addExclude

public void addExclude(String string)
Method addExclude.

Parameters:
string -

addInclude

public void addInclude(String string)
Method addInclude.

Parameters:
string -

getExcludes

public List<String> getExcludes()
Method getExcludes.

Returns:
List

getIncludes

public List<String> getIncludes()
Method getIncludes.

Returns:
List

removeExclude

public void removeExclude(String string)
Method removeExclude.

Parameters:
string -

removeInclude

public void removeInclude(String string)
Method removeInclude.

Parameters:
string -

setExcludes

public void setExcludes(List<String> excludes)
Set a list of patterns to exclude, e.g. **/*.xml

Parameters:
excludes -

setIncludes

public void setIncludes(List<String> includes)
Set a list of patterns to include, e.g. **/*.xml.

Parameters:
includes -

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


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