Package org.apache.maven.model
Class FileSet
- java.lang.Object
-
- org.apache.maven.model.PatternSet
-
- org.apache.maven.model.FileSet
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,InputLocationTracker
- Direct Known Subclasses:
Resource
public class FileSet extends PatternSet implements java.io.Serializable, java.lang.Cloneable
A PatternSet for files.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringdirectoryDescribe the directory where the resources are stored.
-
Constructor Summary
Constructors Constructor Description FileSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSetclone()Method clone.java.lang.StringgetDirectory()Get describe the directory where the resources are stored.voidsetDirectory(java.lang.String directory)Set describe the directory where the resources are stored.java.lang.StringtoString()-
Methods inherited from class org.apache.maven.model.PatternSet
addExclude, addInclude, getExcludes, getIncludes, getLocation, removeExclude, removeInclude, setExcludes, setIncludes, setLocation, setOtherLocation
-
-
-
-
Method Detail
-
clone
public FileSet clone()
Method clone.- Overrides:
clonein classPatternSet- Returns:
- FileSet
-
getDirectory
public java.lang.String getDirectory()
Get describe the directory where the resources are stored. The path is relative to the POM.- Returns:
- String
-
setDirectory
public void setDirectory(java.lang.String directory)
Set describe the directory where the resources are stored. The path is relative to the POM.- Parameters:
directory-
-
toString
public java.lang.String toString()
- Overrides:
toStringin classPatternSet- See Also:
Object.toString()
-
-