Package org.apache.maven.model
Class FileSet
- java.lang.Object
-
- org.apache.maven.model.PatternSet
-
- org.apache.maven.model.FileSet
-
- All Implemented Interfaces:
Serializable
,Cloneable
,InputLocationTracker
- Direct Known Subclasses:
Resource
public class FileSet extends PatternSet implements Serializable, Cloneable
A PatternSet for files.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSet
clone()
Method clone.String
getDirectory()
Get describe the directory where the resources are stored.void
setDirectory(String directory)
Set describe the directory where the resources are stored.String
toString()
-
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:
clone
in classPatternSet
- Returns:
- FileSet
-
getDirectory
public String getDirectory()
Get describe the directory where the resources are stored. The path is relative to the POM.- Returns:
- String
-
setDirectory
public void setDirectory(String directory)
Set describe the directory where the resources are stored. The path is relative to the POM.- Parameters:
directory
- a directory object.
-
toString
public String toString()
- Overrides:
toString
in classPatternSet
- See Also:
Object.toString()
-
-