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