| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private boolean | |
| private boolean | |
| private File |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | execute()
Overrides org. Called by the project to let the task do its work. |
| public void | |
| public void | setCreateBranch(boolean
whether the branch should be created if it does not already
exist createBranch)Set if branch should be created if not yet existing |
| public void | setForce(boolean
if force)true and the branch with the given name
already exists, the start-point of an existing branch will be
set to a new start-point; if false, the existing branch will
not be changedSet |
| public void |
| branch | back to summary |
|---|---|
| private String branch | |
| createBranch | back to summary |
|---|---|
| private boolean createBranch | |
| force | back to summary |
|---|---|
| private boolean force | |
| src | back to summary |
|---|---|
| private File src | |
| GitCheckoutTask | back to summary |
|---|---|
| public GitCheckoutTask() | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Doc from org. Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.
| |
| setBranch | back to summary |
|---|---|
| public void setBranch(String branch) Set
| |
| setCreateBranch | back to summary |
|---|---|
| public void setCreateBranch(boolean createBranch) Set if branch should be created if not yet existing
| |
| setForce | back to summary |
|---|---|
| public void setForce(boolean force) Set
| |
| setSrc | back to summary |
|---|---|
| public void setSrc(File src) Set the
| |