|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.scm.ScmFileSet
public class ScmFileSet
Set of files used for SCM operations. Consists of the base directory of the files and a list of files relative to that directory.
| Constructor Summary | |
|---|---|
ScmFileSet(File basedir)
Create a file set with no files, only the base directory. |
|
ScmFileSet(File basedir,
File file)
Create a file set with only the file provided, relative to basedir. |
|
ScmFileSet(File basedir,
File[] files)
Deprecated. use ScmFileSet( File, List ) |
|
ScmFileSet(File basedir,
List<File> files)
Create a file set with the files provided, relative to basedir. |
|
ScmFileSet(File basedir,
String includes)
Create a file set with files from basefile, using includes provided and default excludes. |
|
ScmFileSet(File basedir,
String includes,
String excludes)
Create a file set with only files (not directories) from basefile, using includes and excludes provided. |
|
| Method Summary | |
|---|---|
File |
getBasedir()
Get the base directory of the file set. |
String |
getExcludes()
|
List<File> |
getFileList()
Get the list of files in the set, relative to basedir |
File[] |
getFiles()
Deprecated. use getFileList() instead |
String |
getIncludes()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScmFileSet(File basedir)
basedir - directory files in the set are relative to
public ScmFileSet(File basedir,
File file)
basedir - directory file is relative tofile - file that the set will contain, has to be relative to basedir
public ScmFileSet(File basedir,
String includes,
String excludes)
throws IOException
basedir - directory files are relative toincludes - Ant pattern for files to includeexcludes - Ant pattern for files to exclude,
if null DEFAULT_EXCLUDES is used, else DEFAULT_EXCLUDES is added.
IOException - if any
public ScmFileSet(File basedir,
String includes)
throws IOException
basedir - directory files are relative toincludes - Ant pattern for files to include
IOException - if any
public ScmFileSet(File basedir,
File[] files)
basedir - directory files are relative tofiles - files that the set will contain, have to be relative to basedir
public ScmFileSet(File basedir,
List<File> files)
basedir - directory files are relative tofiles - list of File objects, files that the set will contain, have to be relative to basedir| Method Detail |
|---|
public File getBasedir()
public File[] getFiles()
public List<File> getFileList()
public String getIncludes()
public String getExcludes()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||