Fix javadoc in org.eclipse.jgit.ant
Change-Id: I97231080ebe040ad44f7189de6109b9626424d2f Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
c1d37ca275
commit
c7093f5cbe
|
@ -71,6 +71,8 @@ public class GitAddTask extends Task {
|
||||||
private Union path;
|
private Union path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* <p>Set the field <code>src</code>.</p>
|
||||||
|
*
|
||||||
* @param src
|
* @param src
|
||||||
* the src to set
|
* the src to set
|
||||||
*/
|
*/
|
||||||
|
@ -106,6 +108,7 @@ private synchronized Union getPath() {
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** {@inheritDoc} */
|
||||||
@Override
|
@Override
|
||||||
public void execute() throws BuildException {
|
public void execute() throws BuildException {
|
||||||
if (src == null) {
|
if (src == null) {
|
||||||
|
|
|
@ -67,6 +67,8 @@ public class GitCheckoutTask extends Task {
|
||||||
private boolean force;
|
private boolean force;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Set the <code>src</code>
|
||||||
|
*
|
||||||
* @param src
|
* @param src
|
||||||
* the src to set
|
* the src to set
|
||||||
*/
|
*/
|
||||||
|
@ -75,6 +77,8 @@ public void setSrc(File src) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Set <code>branch</code>
|
||||||
|
*
|
||||||
* @param branch
|
* @param branch
|
||||||
* the initial branch to check out
|
* the initial branch to check out
|
||||||
*/
|
*/
|
||||||
|
@ -83,6 +87,8 @@ public void setBranch(String branch) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Set if branch should be created if not yet existing
|
||||||
|
*
|
||||||
* @param createBranch
|
* @param createBranch
|
||||||
* whether the branch should be created if it does not already
|
* whether the branch should be created if it does not already
|
||||||
* exist
|
* exist
|
||||||
|
@ -92,6 +98,8 @@ public void setCreateBranch(boolean createBranch) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Set <code>force</code>
|
||||||
|
*
|
||||||
* @param force
|
* @param force
|
||||||
* if <code>true</code> and the branch with the given name
|
* if <code>true</code> and the branch with the given name
|
||||||
* already exists, the start-point of an existing branch will be
|
* already exists, the start-point of an existing branch will be
|
||||||
|
@ -102,6 +110,7 @@ public void setForce(boolean force) {
|
||||||
this.force = force;
|
this.force = force;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** {@inheritDoc} */
|
||||||
@Override
|
@Override
|
||||||
public void execute() throws BuildException {
|
public void execute() throws BuildException {
|
||||||
CheckoutCommand checkout;
|
CheckoutCommand checkout;
|
||||||
|
|
|
@ -68,6 +68,8 @@ public class GitCloneTask extends Task {
|
||||||
private String branch = Constants.HEAD;
|
private String branch = Constants.HEAD;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Set the <code>uri</code>.
|
||||||
|
*
|
||||||
* @param uri
|
* @param uri
|
||||||
* the uri to clone from
|
* the uri to clone from
|
||||||
*/
|
*/
|
||||||
|
@ -80,7 +82,6 @@ public void setUri(String uri) {
|
||||||
* directory isn't set, a name associated with the source uri will be used.
|
* directory isn't set, a name associated with the source uri will be used.
|
||||||
*
|
*
|
||||||
* @see URIish#getHumanishName()
|
* @see URIish#getHumanishName()
|
||||||
*
|
|
||||||
* @param destination
|
* @param destination
|
||||||
* the directory to clone to
|
* the directory to clone to
|
||||||
*/
|
*/
|
||||||
|
@ -89,6 +90,8 @@ public void setDest(File destination) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Set <code>bare</code>
|
||||||
|
*
|
||||||
* @param bare
|
* @param bare
|
||||||
* whether the cloned repository is bare or not
|
* whether the cloned repository is bare or not
|
||||||
*/
|
*/
|
||||||
|
@ -97,6 +100,8 @@ public void setBare(boolean bare) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Set the <code>branch</code>
|
||||||
|
*
|
||||||
* @param branch
|
* @param branch
|
||||||
* the initial branch to check out when cloning the repository
|
* the initial branch to check out when cloning the repository
|
||||||
*/
|
*/
|
||||||
|
@ -104,6 +109,7 @@ public void setBranch(String branch) {
|
||||||
this.branch = branch;
|
this.branch = branch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** {@inheritDoc} */
|
||||||
@Override
|
@Override
|
||||||
public void execute() throws BuildException {
|
public void execute() throws BuildException {
|
||||||
log("Cloning repository " + uri);
|
log("Cloning repository " + uri);
|
||||||
|
|
|
@ -71,6 +71,8 @@ public void setDest(File dest) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Configure if the repository should be <code>bare</code>
|
||||||
|
*
|
||||||
* @param bare
|
* @param bare
|
||||||
* whether the repository should be initialized to a bare
|
* whether the repository should be initialized to a bare
|
||||||
* repository or not.
|
* repository or not.
|
||||||
|
@ -79,6 +81,7 @@ public void setBare(boolean bare) {
|
||||||
this.bare = bare;
|
this.bare = bare;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** {@inheritDoc} */
|
||||||
@Override
|
@Override
|
||||||
public void execute() throws BuildException {
|
public void execute() throws BuildException {
|
||||||
if (bare) {
|
if (bare) {
|
||||||
|
|
Loading…
Reference in New Issue