public class GitAddTask
extends org.apache.tools.ant.Task
Modifier and Type | Field and Description |
---|---|
private org.apache.tools.ant.types.resources.Union |
path |
private java.io.File |
src |
Constructor and Description |
---|
GitAddTask() |
Modifier and Type | Method and Description |
---|---|
void |
addDirset(org.apache.tools.ant.types.DirSet set)
Add a set of files to add.
|
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Add a set of files to add.
|
void |
execute() |
private org.apache.tools.ant.types.resources.Union |
getPath() |
void |
setSrc(java.io.File src)
Set the field
src . |
private java.lang.String |
translateFilePathUsingPrefix(java.lang.String file,
java.lang.String prefix) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
private java.io.File src
private org.apache.tools.ant.types.resources.Union path
public void setSrc(java.io.File src)
Set the field src
.
src
- the src to setpublic void addFileset(org.apache.tools.ant.types.FileSet set)
set
- a set of files to add.public void addDirset(org.apache.tools.ant.types.DirSet set)
set
- a set of files to add.private org.apache.tools.ant.types.resources.Union getPath()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
private java.lang.String translateFilePathUsingPrefix(java.lang.String file, java.lang.String prefix) throws java.io.IOException
java.io.IOException