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 getExcludes()
          Method getExcludes.
 List getIncludes()
          Method getIncludes.
 String getModelEncoding()
           
 void removeExclude(String string)
          Method removeExclude.
 void removeInclude(String string)
          Method removeInclude.
 void setExcludes(List excludes)
          Set A list of patterns to exclude, e.g.
 void setIncludes(List includes)
          Set A list of patterns to include, e.g.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 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 getExcludes()
Method getExcludes.

Returns:
java.util.List

getIncludes

public List getIncludes()
Method getIncludes.

Returns:
java.util.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 excludes)
Set A list of patterns to exclude, e.g. **/*.xml

Parameters:
excludes -

setIncludes

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

setModelEncoding

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

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

getModelEncoding

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


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